f1module Cisco-IOS-XR-um-router-static-cfg {f1module Cisco-IOS-XR-um-router-static-cfg {
2  namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-um-router-static-cfg";2  namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-um-router-static-cfg";
3  prefix um-router-static-cfg;3  prefix um-router-static-cfg;
44
5  import cisco-semver {5  import cisco-semver {
6    prefix semver;6    prefix semver;
7  }7  }
8  import Cisco-IOS-XR-types {8  import Cisco-IOS-XR-types {
9    prefix xr;9    prefix xr;
10  }10  }
11  import ietf-inet-types {11  import ietf-inet-types {
12    prefix inet;12    prefix inet;
n13  }n
14  import ietf-yang-types {
15    prefix yang;
16  }13  }
1714
18  organization15  organization
19    "Cisco Systems, Inc.";16    "Cisco Systems, Inc.";
20  contact17  contact
21    "Cisco Systems, Inc.18    "Cisco Systems, Inc.
22     Customer Service19     Customer Service
23     20     
24     Postal: 170 West Tasman Drive21     Postal: 170 West Tasman Drive
25     San Jose, CA 9513422     San Jose, CA 95134
26     23     
27     Tel: +1 800 553-NETS24     Tel: +1 800 553-NETS
28     25     
29     E-mail: cs-yang@cisco.com";26     E-mail: cs-yang@cisco.com";
30  description27  description
31    "This module contains a collection of YANG definitions28    "This module contains a collection of YANG definitions
32     for Cisco IOS-XR router-static package configuration.29     for Cisco IOS-XR router-static package configuration.
33     30     
34     This YANG module augments the31     This YANG module augments the
35     modules with configuration data.32     modules with configuration data.
36     33     
n37     Copyright (c) 2019-2023 by Cisco Systems, Inc.n34     Copyright (c) 2019-2022 by Cisco Systems, Inc.
38     All rights reserved.";35     All rights reserved.";
3936
n40  revision 2023-10-18 {n
41    description
42      "Added new field tunnel-opt-mode for tunnel/vxlan container
43       2023-05-05
44         Added support for tunnel remote-next-hop.
45       2022-08-18
46         Added algorithm node support under ipv6 hierarchy.
47       2022-06-30
48         Added leaf description under vrf-only.
49       2022-01-25
50         Added container srv6 under segment-routing ipv6 unicast.";
51    semver:module-version "2.1.0";
52  }
53  revision 2021-01-19 {37  revision 2021-01-19 {
54    description38    description
55      "Added must constraints under list node prefix and vrf.";39      "Added must constraints under list node prefix and vrf.";
56    semver:module-version "2.0.0";40    semver:module-version "2.0.0";
57  }41  }
58  revision 2019-06-10 {42  revision 2019-06-10 {
59    description43    description
60      "Establish semantic version baseline.";44      "Establish semantic version baseline.";
61    semver:module-version "1.1.0";45    semver:module-version "1.1.0";
62  }46  }
63  revision 2019-04-04 {47  revision 2019-04-04 {
64    description48    description
65      "Initial version";49      "Initial version";
66  }50  }
6751
68  container router {52  container router {
69    description53    description
70      "Enable a routing process";54      "Enable a routing process";
71    container static {55    container static {
72      description56      description
73        "Static route configuration subcommands";57        "Static route configuration subcommands";
74      container address-family {58      container address-family {
75        description59        description
76          "Static route address family configuration subcommands";60          "Static route address family configuration subcommands";
77        container ipv4 {61        container ipv4 {
78          description62          description
79            "IPv4 commands";63            "IPv4 commands";
80          container unicast {64          container unicast {
81            description65            description
82              "Unicast commands";66              "Unicast commands";
83            container prefixes {67            container prefixes {
84              description68              description
85                "Destination prefix";69                "Destination prefix";
86              list prefix {70              list prefix {
87                must71                must
88                  "segment-routing/mpls/path/names/name or72                  "segment-routing/mpls/path/names/name or
89                   sr-policies/sr-policy or73                   sr-policies/sr-policy or
90                   nexthop-interfaces/nexthop-interface or74                   nexthop-interfaces/nexthop-interface or
91                   nexthop-interface-addresses/nexthop-interface-address or75                   nexthop-interface-addresses/nexthop-interface-address or
92                   nexthop-addresses/nexthop-address or76                   nexthop-addresses/nexthop-address or
93                   nexthop-addresses/nexthop-address-segment-routing or77                   nexthop-addresses/nexthop-address-segment-routing or
94                   vrfs/vrf-only or vrfs/vrf/sr-policies/sr-policy or78                   vrfs/vrf-only or vrfs/vrf/sr-policies/sr-policy or
95                   vrfs/vrf/nexthop-interfaces/nexthop-interface or79                   vrfs/vrf/nexthop-interfaces/nexthop-interface or
96                   vrfs/vrf/nexthop-interface-addresses/nexthop-interface-address or80                   vrfs/vrf/nexthop-interface-addresses/nexthop-interface-address or
97                   vrfs/vrf/nexthop-addresses/nexthop-address";81                   vrfs/vrf/nexthop-addresses/nexthop-address";
98                key "prefix-address prefix-length";82                key "prefix-address prefix-length";
99                description83                description
100                  "Destination prefix";84                  "Destination prefix";
101                leaf prefix-address {85                leaf prefix-address {
102                  type inet:ipv4-address-no-zone;86                  type inet:ipv4-address-no-zone;
103                  description87                  description
104                    "Destination prefix";88                    "Destination prefix";
105                }89                }
106                leaf prefix-length {90                leaf prefix-length {
107                  type uint32 {91                  type uint32 {
108                    range "0..128";92                    range "0..128";
109                  }93                  }
110                  description94                  description
111                    "Destination prefix length";95                    "Destination prefix length";
112                }96                }
113                container segment-routing {97                container segment-routing {
114                  description98                  description
115                    "Configure Static Segment Routing";99                    "Configure Static Segment Routing";
116                  container mpls {100                  container mpls {
117                    description101                    description
118                      "Configure mpls path name";102                      "Configure mpls path name";
119                    container path {103                    container path {
120                      description104                      description
121                        "Configure path name";105                        "Configure path name";
122                      container names {106                      container names {
123                        description107                        description
124                          "Configure path name";108                          "Configure path name";
125                        list name {109                        list name {
126                          key "path-name";110                          key "path-name";
127                          description111                          description
128                            "Configure path name";112                            "Configure path name";
129                          leaf path-name {113                          leaf path-name {
130                            type xr:Cisco-ios-xr-string {114                            type xr:Cisco-ios-xr-string {
131                              length "1..1024" {115                              length "1..1024" {
132                                description116                                description
133                                  "Path name";117                                  "Path name";
134                              }118                              }
135                            }119                            }
136                            description120                            description
137                              "Configure path name";121                              "Configure path name";
138                          }122                          }
139                          leaf distance-metric {123                          leaf distance-metric {
140                            type uint32 {124                            type uint32 {
141                              range "1..254" {125                              range "1..254" {
142                                description126                                description
143                                  "Distance metric for this route";127                                  "Distance metric for this route";
144                              }128                              }
145                            }129                            }
146                            description130                            description
147                              "Distance metric for this route";131                              "Distance metric for this route";
148                          }132                          }
149                          leaf tag {133                          leaf tag {
150                            type uint32 {134                            type uint32 {
151                              range "1..4294967295" {135                              range "1..4294967295" {
152                                description136                                description
153                                  "Set tag for this route";137                                  "Set tag for this route";
154                              }138                              }
155                            }139                            }
156                            description140                            description
157                              "Set tag for this route";141                              "Set tag for this route";
158                          }142                          }
159                          leaf description {143                          leaf description {
160                            type string {144                            type string {
161                              length "1..30" {145                              length "1..30" {
162                                description146                                description
163                                  "short description of static route";147                                  "short description of static route";
164                              }148                              }
165                            }149                            }
166                            description150                            description
167                              "description of the static route";151                              "description of the static route";
168                          }152                          }
169                          leaf metric {153                          leaf metric {
170                            type uint32 {154                            type uint32 {
171                              range "1..16777214" {155                              range "1..16777214" {
172                                description156                                description
173                                  "Set metric for this route";157                                  "Set metric for this route";
174                              }158                              }
175                            }159                            }
176                            description160                            description
177                              "Set metric for this route";161                              "Set metric for this route";
178                          }162                          }
179                        }163                        }
180                      }164                      }
181                    }165                    }
182                  }166                  }
183                }167                }
184                container sr-policies {168                container sr-policies {
185                  description169                  description
186                    "segment routing policy";170                    "segment routing policy";
187                  list sr-policy {171                  list sr-policy {
188                    key "sr-policy-name";172                    key "sr-policy-name";
189                    description173                    description
190                      "segment routing policy";174                      "segment routing policy";
191                    leaf sr-policy-name {175                    leaf sr-policy-name {
192                      type xr:Cisco-ios-xr-string {176                      type xr:Cisco-ios-xr-string {
193                        length "1..1024" {177                        length "1..1024" {
194                          description178                          description
195                            "SR policy name";179                            "SR policy name";
196                        }180                        }
197                      }181                      }
198                      description182                      description
199                        "segment routing policy";183                        "segment routing policy";
200                    }184                    }
201                    leaf distance-metric {185                    leaf distance-metric {
202                      type uint32 {186                      type uint32 {
203                        range "1..254" {187                        range "1..254" {
204                          description188                          description
205                            "Distance metric for this route";189                            "Distance metric for this route";
206                        }190                        }
207                      }191                      }
208                      description192                      description
209                        "Distance metric for this route";193                        "Distance metric for this route";
210                    }194                    }
211                    leaf tag {195                    leaf tag {
212                      type uint32 {196                      type uint32 {
213                        range "1..4294967295" {197                        range "1..4294967295" {
214                          description198                          description
215                            "Set tag for this route";199                            "Set tag for this route";
216                        }200                        }
217                      }201                      }
218                      description202                      description
219                        "Set tag for this route";203                        "Set tag for this route";
220                    }204                    }
221                    container permanent {205                    container permanent {
222                      presence "Indicates a permanent node is configured.";206                      presence "Indicates a permanent node is configured.";
223                      description207                      description
224                        "Permanent route";208                        "Permanent route";
225                    }209                    }
226                    leaf vrflabel {210                    leaf vrflabel {
227                      type uint32 {211                      type uint32 {
228                        range "0..4294967295" {212                        range "0..4294967295" {
229                          description213                          description
230                            "VRF label";214                            "VRF label";
231                        }215                        }
232                      }216                      }
233                      description217                      description
234                        "VRF label";218                        "VRF label";
235                    }219                    }
236                    leaf tunnel-id {220                    leaf tunnel-id {
237                      type uint32 {221                      type uint32 {
238                        range "0..4294967295" {222                        range "0..4294967295" {
239                          description223                          description
240                            "Tunnel ID";224                            "Tunnel ID";
241                        }225                        }
242                      }226                      }
243                      description227                      description
244                        "Tunnel ID";228                        "Tunnel ID";
245                    }229                    }
246                    leaf description {230                    leaf description {
247                      type xr:Cisco-ios-xr-string {231                      type xr:Cisco-ios-xr-string {
248                        length "1..30" {232                        length "1..30" {
249                          description233                          description
250                            "short description of static route";234                            "short description of static route";
251                        }235                        }
252                      }236                      }
253                      description237                      description
254                        "description of the static route";238                        "description of the static route";
255                    }239                    }
256                    leaf track {240                    leaf track {
257                      type xr:Cisco-ios-xr-string {241                      type xr:Cisco-ios-xr-string {
258                        length "1..32" {242                        length "1..32" {
259                          description243                          description
260                            "Object to be tracked";244                            "Object to be tracked";
261                        }245                        }
262                      }246                      }
263                      description247                      description
264                        "Enable object tracking for static route";248                        "Enable object tracking for static route";
265                    }249                    }
266                    leaf metric {250                    leaf metric {
267                      type uint32 {251                      type uint32 {
268                        range "1..16777214" {252                        range "1..16777214" {
269                          description253                          description
270                            "Set metric for this route";254                            "Set metric for this route";
271                        }255                        }
272                      }256                      }
273                      description257                      description
274                        "Set metric for this route";258                        "Set metric for this route";
275                    }259                    }
276                    container prefer-rib-over-ldp {260                    container prefer-rib-over-ldp {
277                      presence "Indicates a prefer-rib-over-ldp node is configured.";261                      presence "Indicates a prefer-rib-over-ldp node is configured.";
278                      description262                      description
279                        "Flag passed to rib to prefer rib over ldp";263                        "Flag passed to rib to prefer rib over ldp";
280                    }264                    }
281                  }265                  }
282                }266                }
283                container nexthop-interfaces {267                container nexthop-interfaces {
284                  description268                  description
285                    "Forwarding interface";269                    "Forwarding interface";
286                  list nexthop-interface {270                  list nexthop-interface {
287                    key "interface-name";271                    key "interface-name";
288                    description272                    description
289                      "Forwarding interface";273                      "Forwarding interface";
290                    leaf interface-name {274                    leaf interface-name {
291                      type xr:Interface-name;275                      type xr:Interface-name;
292                      description276                      description
293                        "Forwarding interface";277                        "Forwarding interface";
294                    }278                    }
295                    leaf distance-metric {279                    leaf distance-metric {
296                      type uint32 {280                      type uint32 {
297                        range "1..254" {281                        range "1..254" {
298                          description282                          description
299                            "Distance metric for this route";283                            "Distance metric for this route";
300                        }284                        }
301                      }285                      }
302                      description286                      description
303                        "Distance metric for this route";287                        "Distance metric for this route";
304                    }288                    }
305                    leaf tag {289                    leaf tag {
306                      type uint32 {290                      type uint32 {
307                        range "1..4294967295" {291                        range "1..4294967295" {
308                          description292                          description
309                            "Set tag for this route";293                            "Set tag for this route";
310                        }294                        }
311                      }295                      }
312                      description296                      description
313                        "Set tag for this route";297                        "Set tag for this route";
314                    }298                    }
315                    container permanent {299                    container permanent {
316                      presence "Indicates a permanent node is configured.";300                      presence "Indicates a permanent node is configured.";
317                      description301                      description
318                        "Permanent route";302                        "Permanent route";
319                    }303                    }
320                    leaf vrflabel {304                    leaf vrflabel {
321                      type uint32 {305                      type uint32 {
322                        range "0..4294967295" {306                        range "0..4294967295" {
323                          description307                          description
324                            "VRF label";308                            "VRF label";
325                        }309                        }
326                      }310                      }
327                      description311                      description
328                        "VRF label";312                        "VRF label";
329                    }313                    }
330                    leaf tunnel-id {314                    leaf tunnel-id {
331                      type uint32 {315                      type uint32 {
332                        range "0..4294967295" {316                        range "0..4294967295" {
333                          description317                          description
334                            "Tunnel ID";318                            "Tunnel ID";
335                        }319                        }
336                      }320                      }
337                      description321                      description
338                        "Tunnel ID";322                        "Tunnel ID";
339                    }323                    }
340                    leaf description {324                    leaf description {
341                      type string {325                      type string {
342                        length "1..30" {326                        length "1..30" {
343                          description327                          description
344                            "short description of static route";328                            "short description of static route";
345                        }329                        }
346                      }330                      }
347                      description331                      description
348                        "description of the static route";332                        "description of the static route";
349                    }333                    }
350                    leaf track {334                    leaf track {
351                      type xr:Cisco-ios-xr-string {335                      type xr:Cisco-ios-xr-string {
352                        length "1..32" {336                        length "1..32" {
353                          description337                          description
354                            "Object to be tracked";338                            "Object to be tracked";
355                        }339                        }
356                      }340                      }
357                      description341                      description
358                        "Enable object tracking for static route";342                        "Enable object tracking for static route";
359                    }343                    }
360                    leaf metric {344                    leaf metric {
361                      type uint32 {345                      type uint32 {
362                        range "1..16777214" {346                        range "1..16777214" {
363                          description347                          description
364                            "Set metric for this route";348                            "Set metric for this route";
365                        }349                        }
366                      }350                      }
367                      description351                      description
368                        "Set metric for this route";352                        "Set metric for this route";
369                    }353                    }
370                    container prefer-rib-over-ldp {354                    container prefer-rib-over-ldp {
371                      presence "Indicates a prefer-rib-over-ldp node is configured.";355                      presence "Indicates a prefer-rib-over-ldp node is configured.";
372                      description356                      description
373                        "Flag passed to rib to prefer rib over ldp";357                        "Flag passed to rib to prefer rib over ldp";
374                    }358                    }
375                  }359                  }
376                }360                }
377                container nexthop-interface-addresses {361                container nexthop-interface-addresses {
378                  description362                  description
379                    "Forwarding interface";363                    "Forwarding interface";
380                  list nexthop-interface-address {364                  list nexthop-interface-address {
381                    key "interface-name address";365                    key "interface-name address";
382                    description366                    description
383                      "Forwarding interface";367                      "Forwarding interface";
384                    leaf interface-name {368                    leaf interface-name {
385                      type xr:Interface-name;369                      type xr:Interface-name;
386                      description370                      description
387                        "Forwarding interface";371                        "Forwarding interface";
388                    }372                    }
389                    leaf address {373                    leaf address {
390                      type inet:ipv4-address-no-zone;374                      type inet:ipv4-address-no-zone;
391                      description375                      description
392                        "Forwarding router's address";376                        "Forwarding router's address";
393                    }377                    }
394                    container bfd {378                    container bfd {
395                      description379                      description
396                        "Configure BFD paramenters";380                        "Configure BFD paramenters";
397                      container fast-detect {381                      container fast-detect {
398                        presence "Indicates a fast-detect node is configured.";382                        presence "Indicates a fast-detect node is configured.";
399                        description383                        description
400                          "Enable Fast detection";384                          "Enable Fast detection";
401                        leaf minimum-interval {385                        leaf minimum-interval {
402                          type uint32 {386                          type uint32 {
403                            range "3..30000" {387                            range "3..30000" {
404                              description388                              description
405                                "interval in milli-seconds";389                                "interval in milli-seconds";
406                            }390                            }
407                          }391                          }
408                          description392                          description
409                            "Hello interval";393                            "Hello interval";
410                        }394                        }
411                        leaf multiplier {395                        leaf multiplier {
412                          type uint32 {396                          type uint32 {
413                            range "1..10" {397                            range "1..10" {
414                              description398                              description
415                                "Detect multiplier";399                                "Detect multiplier";
416                            }400                            }
417                          }401                          }
418                          description402                          description
419                            "Detect multiplier";403                            "Detect multiplier";
420                        }404                        }
421                      }405                      }
422                    }406                    }
423                    leaf distance-metric {407                    leaf distance-metric {
424                      type uint32 {408                      type uint32 {
425                        range "1..254" {409                        range "1..254" {
426                          description410                          description
427                            "Distance metric for this route";411                            "Distance metric for this route";
428                        }412                        }
429                      }413                      }
430                      description414                      description
431                        "Distance metric for this route";415                        "Distance metric for this route";
432                    }416                    }
433                    leaf tag {417                    leaf tag {
434                      type uint32 {418                      type uint32 {
435                        range "1..4294967295" {419                        range "1..4294967295" {
436                          description420                          description
437                            "Set tag for this route";421                            "Set tag for this route";
438                        }422                        }
439                      }423                      }
440                      description424                      description
441                        "Set tag for this route";425                        "Set tag for this route";
442                    }426                    }
443                    container permanent {427                    container permanent {
444                      presence "Indicates a permanent node is configured.";428                      presence "Indicates a permanent node is configured.";
445                      description429                      description
446                        "Permanent route";430                        "Permanent route";
447                    }431                    }
448                    leaf vrflabel {432                    leaf vrflabel {
449                      type uint32 {433                      type uint32 {
450                        range "0..4294967295" {434                        range "0..4294967295" {
451                          description435                          description
452                            "VRF label";436                            "VRF label";
453                        }437                        }
454                      }438                      }
455                      description439                      description
456                        "VRF label";440                        "VRF label";
457                    }441                    }
458                    leaf tunnel-id {442                    leaf tunnel-id {
459                      type uint32 {443                      type uint32 {
460                        range "0..4294967295" {444                        range "0..4294967295" {
461                          description445                          description
462                            "Tunnel ID";446                            "Tunnel ID";
463                        }447                        }
464                      }448                      }
465                      description449                      description
466                        "Tunnel ID";450                        "Tunnel ID";
467                    }451                    }
468                    leaf description {452                    leaf description {
469                      type string {453                      type string {
470                        length "1..30" {454                        length "1..30" {
471                          description455                          description
472                            "short description of static route";456                            "short description of static route";
473                        }457                        }
474                      }458                      }
475                      description459                      description
476                        "description of the static route";460                        "description of the static route";
477                    }461                    }
478                    leaf track {462                    leaf track {
479                      type xr:Cisco-ios-xr-string {463                      type xr:Cisco-ios-xr-string {
480                        length "1..32" {464                        length "1..32" {
481                          description465                          description
482                            "Object to be tracked";466                            "Object to be tracked";
483                        }467                        }
484                      }468                      }
485                      description469                      description
486                        "Enable object tracking for static route";470                        "Enable object tracking for static route";
487                    }471                    }
488                    leaf metric {472                    leaf metric {
489                      type uint32 {473                      type uint32 {
490                        range "1..16777214" {474                        range "1..16777214" {
491                          description475                          description
492                            "Set metric for this route";476                            "Set metric for this route";
493                        }477                        }
494                      }478                      }
495                      description479                      description
496                        "Set metric for this route";480                        "Set metric for this route";
497                    }481                    }
498                    container prefer-rib-over-ldp {482                    container prefer-rib-over-ldp {
499                      presence "Indicates a prefer-rib-over-ldp node is configured.";483                      presence "Indicates a prefer-rib-over-ldp node is configured.";
500                      description484                      description
501                        "Flag passed to rib to prefer rib over ldp";485                        "Flag passed to rib to prefer rib over ldp";
502                    }486                    }
503                  }487                  }
504                }488                }
505                container nexthop-addresses {489                container nexthop-addresses {
506                  description490                  description
507                    "Forwarding router's address";491                    "Forwarding router's address";
508                  list nexthop-address {492                  list nexthop-address {
509                    key "address";493                    key "address";
510                    description494                    description
511                      "Forwarding router's address";495                      "Forwarding router's address";
512                    leaf address {496                    leaf address {
513                      type inet:ipv4-address-no-zone;497                      type inet:ipv4-address-no-zone;
514                      description498                      description
515                        "Forwarding router's address";499                        "Forwarding router's address";
516                    }500                    }
517                    container bfd {501                    container bfd {
518                      description502                      description
519                        "Configure BFD paramenters";503                        "Configure BFD paramenters";
520                      container fast-detect {504                      container fast-detect {
521                        presence "Indicates a fast-detect node is configured.";505                        presence "Indicates a fast-detect node is configured.";
522                        description506                        description
523                          "Enable Fast detection";507                          "Enable Fast detection";
524                        leaf minimum-interval {508                        leaf minimum-interval {
525                          type uint32 {509                          type uint32 {
526                            range "3..30000" {510                            range "3..30000" {
527                              description511                              description
528                                "interval in milli-seconds";512                                "interval in milli-seconds";
529                            }513                            }
530                          }514                          }
531                          description515                          description
532                            "Hello interval";516                            "Hello interval";
533                        }517                        }
534                        leaf multiplier {518                        leaf multiplier {
535                          type uint32 {519                          type uint32 {
536                            range "1..10" {520                            range "1..10" {
537                              description521                              description
538                                "Detect multiplier";522                                "Detect multiplier";
539                            }523                            }
540                          }524                          }
541                          description525                          description
542                            "Detect multiplier";526                            "Detect multiplier";
543                        }527                        }
544                        container multihop {528                        container multihop {
545                          presence "Indicates a multihop node is configured.";529                          presence "Indicates a multihop node is configured.";
546                          description530                          description
547                            "Enable BFD Multihop";531                            "Enable BFD Multihop";
548                          leaf address {532                          leaf address {
549                            type inet:ipv4-address-no-zone;533                            type inet:ipv4-address-no-zone;
550                            mandatory true;534                            mandatory true;
551                            description535                            description
552                              "Source address";536                              "Source address";
553                          }537                          }
554                        }538                        }
555                      }539                      }
556                    }540                    }
557                    leaf distance-metric {541                    leaf distance-metric {
558                      type uint32 {542                      type uint32 {
559                        range "1..254" {543                        range "1..254" {
560                          description544                          description
561                            "Distance metric for this route";545                            "Distance metric for this route";
562                        }546                        }
563                      }547                      }
564                      description548                      description
565                        "Distance metric for this route";549                        "Distance metric for this route";
566                    }550                    }
567                    leaf tag {551                    leaf tag {
568                      type uint32 {552                      type uint32 {
569                        range "1..4294967295" {553                        range "1..4294967295" {
570                          description554                          description
571                            "Set tag for this route";555                            "Set tag for this route";
572                        }556                        }
573                      }557                      }
574                      description558                      description
575                        "Set tag for this route";559                        "Set tag for this route";
576                    }560                    }
577                    container permanent {561                    container permanent {
578                      presence "Indicates a permanent node is configured.";562                      presence "Indicates a permanent node is configured.";
579                      description563                      description
580                        "Permanent route";564                        "Permanent route";
581                    }565                    }
582                    leaf vrflabel {566                    leaf vrflabel {
583                      type uint32 {567                      type uint32 {
584                        range "0..4294967295" {568                        range "0..4294967295" {
585                          description569                          description
586                            "VRF label";570                            "VRF label";
587                        }571                        }
588                      }572                      }
589                      description573                      description
590                        "VRF label";574                        "VRF label";
591                    }575                    }
592                    leaf tunnel-id {576                    leaf tunnel-id {
593                      type uint32 {577                      type uint32 {
594                        range "0..4294967295" {578                        range "0..4294967295" {
595                          description579                          description
596                            "Tunnel ID";580                            "Tunnel ID";
597                        }581                        }
598                      }582                      }
599                      description583                      description
600                        "Tunnel ID";584                        "Tunnel ID";
601                    }585                    }
602                    leaf description {586                    leaf description {
603                      type string {587                      type string {
604                        length "1..30" {588                        length "1..30" {
605                          description589                          description
606                            "short description of static route";590                            "short description of static route";
607                        }591                        }
608                      }592                      }
609                      description593                      description
610                        "description of the static route";594                        "description of the static route";
611                    }595                    }
612                    leaf track {596                    leaf track {
613                      type xr:Cisco-ios-xr-string {597                      type xr:Cisco-ios-xr-string {
614                        length "1..32" {598                        length "1..32" {
615                          description599                          description
616                            "Object to be tracked";600                            "Object to be tracked";
617                        }601                        }
618                      }602                      }
619                      description603                      description
620                        "Enable object tracking for static route";604                        "Enable object tracking for static route";
621                    }605                    }
622                    leaf metric {606                    leaf metric {
623                      type uint32 {607                      type uint32 {
624                        range "1..16777214" {608                        range "1..16777214" {
625                          description609                          description
626                            "Set metric for this route";610                            "Set metric for this route";
627                        }611                        }
628                      }612                      }
629                      description613                      description
630                        "Set metric for this route";614                        "Set metric for this route";
631                    }615                    }
632                    container prefer-rib-over-ldp {616                    container prefer-rib-over-ldp {
633                      presence "Indicates a prefer-rib-over-ldp node is configured.";617                      presence "Indicates a prefer-rib-over-ldp node is configured.";
634                      description618                      description
635                        "Flag passed to rib to prefer rib over ldp";619                        "Flag passed to rib to prefer rib over ldp";
636                    }620                    }
637                  }621                  }
638                  list nexthop-address-segment-routing {622                  list nexthop-address-segment-routing {
639                    key "address mpls-path-name";623                    key "address mpls-path-name";
640                    description624                    description
641                      "Forwarding router's address";625                      "Forwarding router's address";
642                    leaf address {626                    leaf address {
643                      type inet:ipv4-address-no-zone;627                      type inet:ipv4-address-no-zone;
644                      description628                      description
645                        "Forwarding router's address";629                        "Forwarding router's address";
646                    }630                    }
647                    leaf mpls-path-name {631                    leaf mpls-path-name {
648                      type xr:Cisco-ios-xr-string {632                      type xr:Cisco-ios-xr-string {
649                        length "1..1024" {633                        length "1..1024" {
650                          description634                          description
651                            "Path name";635                            "Path name";
652                        }636                        }
653                      }637                      }
654                      description638                      description
655                        "Configure path name";639                        "Configure path name";
656                    }640                    }
657                    leaf distance-metric {641                    leaf distance-metric {
658                      type uint32 {642                      type uint32 {
659                        range "1..254" {643                        range "1..254" {
660                          description644                          description
661                            "Distance metric for this route";645                            "Distance metric for this route";
662                        }646                        }
663                      }647                      }
664                      description648                      description
665                        "Distance metric for this route";649                        "Distance metric for this route";
666                    }650                    }
667                    leaf tag {651                    leaf tag {
668                      type uint32 {652                      type uint32 {
669                        range "1..4294967295" {653                        range "1..4294967295" {
670                          description654                          description
671                            "Set tag for this route";655                            "Set tag for this route";
672                        }656                        }
673                      }657                      }
674                      description658                      description
675                        "Set tag for this route";659                        "Set tag for this route";
676                    }660                    }
677                    leaf description {661                    leaf description {
678                      type string {662                      type string {
679                        length "1..30" {663                        length "1..30" {
680                          description664                          description
681                            "short description of static route";665                            "short description of static route";
682                        }666                        }
683                      }667                      }
684                      description668                      description
685                        "description of the static route";669                        "description of the static route";
686                    }670                    }
687                    leaf metric {671                    leaf metric {
688                      type uint32 {672                      type uint32 {
689                        range "1..16777214" {673                        range "1..16777214" {
690                          description674                          description
691                            "Set metric for this route";675                            "Set metric for this route";
692                        }676                        }
693                      }677                      }
694                      description678                      description
695                        "Set metric for this route";679                        "Set metric for this route";
696                    }680                    }
697                  }681                  }
698                }682                }
699                container vrfs {683                container vrfs {
700                  description684                  description
701                    "Destination VRF";685                    "Destination VRF";
702                  list vrf-only {686                  list vrf-only {
703                    key "vrf-name";687                    key "vrf-name";
704                    description688                    description
705                      "Destination only VRF";689                      "Destination only VRF";
706                    leaf vrf-name {690                    leaf vrf-name {
707                      type xr:Cisco-ios-xr-string {691                      type xr:Cisco-ios-xr-string {
708                        length "1..32" {692                        length "1..32" {
709                          description693                          description
710                            "VRF name";694                            "VRF name";
711                        }695                        }
712                      }696                      }
713                      description697                      description
714                        "Destination VRF";698                        "Destination VRF";
715                    }699                    }
n716                    leaf description {n
717                      type string {
718                        length "1..254" {
719                          description
720                            "short description of static route";
721                        }
722                      }
723                      description
724                        "description of the static route";
725                    }
726                  }700                  }
727                  list vrf {701                  list vrf {
728                    must702                    must
729                      "sr-policies/sr-policy or703                      "sr-policies/sr-policy or
730                       nexthop-interfaces/nexthop-interface or704                       nexthop-interfaces/nexthop-interface or
731                       nexthop-interface-addresses/nexthop-interface-address or705                       nexthop-interface-addresses/nexthop-interface-address or
732                       nexthop-addresses/nexthop-address";706                       nexthop-addresses/nexthop-address";
733                    key "vrf-name";707                    key "vrf-name";
734                    description708                    description
735                      "Destination VRF";709                      "Destination VRF";
736                    leaf vrf-name {710                    leaf vrf-name {
737                      type xr:Cisco-ios-xr-string {711                      type xr:Cisco-ios-xr-string {
738                        length "1..32" {712                        length "1..32" {
739                          description713                          description
740                            "VRF name";714                            "VRF name";
741                        }715                        }
742                      }716                      }
743                      description717                      description
744                        "Destination VRF";718                        "Destination VRF";
745                    }719                    }
746                    container sr-policies {720                    container sr-policies {
747                      description721                      description
748                        "segment routing policy";722                        "segment routing policy";
749                      list sr-policy {723                      list sr-policy {
750                        key "sr-policy-name";724                        key "sr-policy-name";
751                        description725                        description
752                          "segment routing policy";726                          "segment routing policy";
753                        leaf sr-policy-name {727                        leaf sr-policy-name {
754                          type xr:Cisco-ios-xr-string {728                          type xr:Cisco-ios-xr-string {
755                            length "1..1024" {729                            length "1..1024" {
756                              description730                              description
757                                "SR policy name";731                                "SR policy name";
758                            }732                            }
759                          }733                          }
760                          description734                          description
761                            "segment routing policy";735                            "segment routing policy";
762                        }736                        }
763                        leaf distance-metric {737                        leaf distance-metric {
764                          type uint32 {738                          type uint32 {
765                            range "1..254" {739                            range "1..254" {
766                              description740                              description
767                                "Distance metric for this route";741                                "Distance metric for this route";
768                            }742                            }
769                          }743                          }
770                          description744                          description
771                            "Distance metric for this route";745                            "Distance metric for this route";
772                        }746                        }
773                        leaf tag {747                        leaf tag {
774                          type uint32 {748                          type uint32 {
775                            range "1..4294967295" {749                            range "1..4294967295" {
776                              description750                              description
777                                "Set tag for this route";751                                "Set tag for this route";
778                            }752                            }
779                          }753                          }
780                          description754                          description
781                            "Set tag for this route";755                            "Set tag for this route";
782                        }756                        }
783                        container permanent {757                        container permanent {
784                          presence "Indicates a permanent node is configured.";758                          presence "Indicates a permanent node is configured.";
785                          description759                          description
786                            "Permanent route";760                            "Permanent route";
787                        }761                        }
788                        leaf vrflabel {762                        leaf vrflabel {
789                          type uint32 {763                          type uint32 {
790                            range "0..4294967295" {764                            range "0..4294967295" {
791                              description765                              description
792                                "VRF label";766                                "VRF label";
793                            }767                            }
794                          }768                          }
795                          description769                          description
796                            "VRF label";770                            "VRF label";
797                        }771                        }
798                        leaf tunnel-id {772                        leaf tunnel-id {
799                          type uint32 {773                          type uint32 {
800                            range "0..4294967295" {774                            range "0..4294967295" {
801                              description775                              description
802                                "Tunnel ID";776                                "Tunnel ID";
803                            }777                            }
804                          }778                          }
805                          description779                          description
806                            "Tunnel ID";780                            "Tunnel ID";
807                        }781                        }
808                        leaf description {782                        leaf description {
809                          type string {783                          type string {
810                            length "1..30" {784                            length "1..30" {
811                              description785                              description
812                                "short description of static route";786                                "short description of static route";
813                            }787                            }
814                          }788                          }
815                          description789                          description
816                            "description of the static route";790                            "description of the static route";
817                        }791                        }
818                        leaf track {792                        leaf track {
819                          type xr:Cisco-ios-xr-string {793                          type xr:Cisco-ios-xr-string {
820                            length "1..32" {794                            length "1..32" {
821                              description795                              description
822                                "Object to be tracked";796                                "Object to be tracked";
823                            }797                            }
824                          }798                          }
825                          description799                          description
826                            "Enable object tracking for static route";800                            "Enable object tracking for static route";
827                        }801                        }
828                        leaf metric {802                        leaf metric {
829                          type uint32 {803                          type uint32 {
830                            range "1..16777214" {804                            range "1..16777214" {
831                              description805                              description
832                                "Set metric for this route";806                                "Set metric for this route";
833                            }807                            }
834                          }808                          }
835                          description809                          description
836                            "Set metric for this route";810                            "Set metric for this route";
837                        }811                        }
838                        container prefer-rib-over-ldp {812                        container prefer-rib-over-ldp {
839                          presence "Indicates a prefer-rib-over-ldp node is configured.";813                          presence "Indicates a prefer-rib-over-ldp node is configured.";
840                          description814                          description
841                            "Flag passed to rib to prefer rib over ldp";815                            "Flag passed to rib to prefer rib over ldp";
842                        }816                        }
843                      }817                      }
844                    }818                    }
845                    container nexthop-interfaces {819                    container nexthop-interfaces {
846                      description820                      description
847                        "Forwarding interface";821                        "Forwarding interface";
848                      list nexthop-interface {822                      list nexthop-interface {
849                        key "interface-name";823                        key "interface-name";
850                        description824                        description
851                          "Forwarding interface";825                          "Forwarding interface";
852                        leaf interface-name {826                        leaf interface-name {
853                          type xr:Interface-name;827                          type xr:Interface-name;
854                          description828                          description
855                            "Forwarding interface";829                            "Forwarding interface";
856                        }830                        }
857                        leaf distance-metric {831                        leaf distance-metric {
858                          type uint32 {832                          type uint32 {
859                            range "1..254" {833                            range "1..254" {
860                              description834                              description
861                                "Distance metric for this route";835                                "Distance metric for this route";
862                            }836                            }
863                          }837                          }
864                          description838                          description
865                            "Distance metric for this route";839                            "Distance metric for this route";
866                        }840                        }
867                        leaf tag {841                        leaf tag {
868                          type uint32 {842                          type uint32 {
869                            range "1..4294967295" {843                            range "1..4294967295" {
870                              description844                              description
871                                "Set tag for this route";845                                "Set tag for this route";
872                            }846                            }
873                          }847                          }
874                          description848                          description
875                            "Set tag for this route";849                            "Set tag for this route";
876                        }850                        }
877                        container permanent {851                        container permanent {
878                          presence "Indicates a permanent node is configured.";852                          presence "Indicates a permanent node is configured.";
879                          description853                          description
880                            "Permanent route";854                            "Permanent route";
881                        }855                        }
882                        leaf vrflabel {856                        leaf vrflabel {
883                          type uint32 {857                          type uint32 {
884                            range "0..4294967295" {858                            range "0..4294967295" {
885                              description859                              description
886                                "VRF label";860                                "VRF label";
887                            }861                            }
888                          }862                          }
889                          description863                          description
890                            "VRF label";864                            "VRF label";
891                        }865                        }
892                        leaf tunnel-id {866                        leaf tunnel-id {
893                          type uint32 {867                          type uint32 {
894                            range "0..4294967295" {868                            range "0..4294967295" {
895                              description869                              description
896                                "Tunnel ID";870                                "Tunnel ID";
897                            }871                            }
898                          }872                          }
899                          description873                          description
900                            "Tunnel ID";874                            "Tunnel ID";
901                        }875                        }
902                        leaf description {876                        leaf description {
903                          type string {877                          type string {
904                            length "1..30" {878                            length "1..30" {
905                              description879                              description
906                                "short description of static route";880                                "short description of static route";
907                            }881                            }
908                          }882                          }
909                          description883                          description
910                            "description of the static route";884                            "description of the static route";
911                        }885                        }
912                        leaf track {886                        leaf track {
913                          type xr:Cisco-ios-xr-string {887                          type xr:Cisco-ios-xr-string {
914                            length "1..32" {888                            length "1..32" {
915                              description889                              description
916                                "Object to be tracked";890                                "Object to be tracked";
917                            }891                            }
918                          }892                          }
919                          description893                          description
920                            "Enable object tracking for static route";894                            "Enable object tracking for static route";
921                        }895                        }
922                        leaf metric {896                        leaf metric {
923                          type uint32 {897                          type uint32 {
924                            range "1..16777214" {898                            range "1..16777214" {
925                              description899                              description
926                                "Set metric for this route";900                                "Set metric for this route";
927                            }901                            }
928                          }902                          }
929                          description903                          description
930                            "Set metric for this route";904                            "Set metric for this route";
931                        }905                        }
932                        container prefer-rib-over-ldp {906                        container prefer-rib-over-ldp {
933                          presence "Indicates a prefer-rib-over-ldp node is configured.";907                          presence "Indicates a prefer-rib-over-ldp node is configured.";
934                          description908                          description
935                            "Flag passed to rib to prefer rib over ldp";909                            "Flag passed to rib to prefer rib over ldp";
936                        }910                        }
937                      }911                      }
938                    }912                    }
939                    container nexthop-interface-addresses {913                    container nexthop-interface-addresses {
940                      description914                      description
941                        "Forwarding interface";915                        "Forwarding interface";
942                      list nexthop-interface-address {916                      list nexthop-interface-address {
943                        key "interface-name address";917                        key "interface-name address";
944                        description918                        description
945                          "Forwarding interface";919                          "Forwarding interface";
946                        leaf interface-name {920                        leaf interface-name {
947                          type xr:Interface-name;921                          type xr:Interface-name;
948                          description922                          description
949                            "Forwarding interface";923                            "Forwarding interface";
950                        }924                        }
951                        leaf address {925                        leaf address {
952                          type inet:ipv4-address-no-zone;926                          type inet:ipv4-address-no-zone;
953                          description927                          description
954                            "Forwarding router's address";928                            "Forwarding router's address";
955                        }929                        }
956                        container bfd {930                        container bfd {
957                          description931                          description
958                            "Configure BFD paramenters";932                            "Configure BFD paramenters";
959                          container fast-detect {933                          container fast-detect {
960                            presence "Indicates a fast-detect node is configured.";934                            presence "Indicates a fast-detect node is configured.";
961                            description935                            description
962                              "Enable Fast detection";936                              "Enable Fast detection";
963                            leaf minimum-interval {937                            leaf minimum-interval {
964                              type uint32 {938                              type uint32 {
965                                range "3..30000" {939                                range "3..30000" {
966                                  description940                                  description
967                                    "interval in milli-seconds";941                                    "interval in milli-seconds";
968                                }942                                }
969                              }943                              }
970                              description944                              description
971                                "Hello interval";945                                "Hello interval";
972                            }946                            }
973                            leaf multiplier {947                            leaf multiplier {
974                              type uint32 {948                              type uint32 {
975                                range "1..10" {949                                range "1..10" {
976                                  description950                                  description
977                                    "Detect multiplier";951                                    "Detect multiplier";
978                                }952                                }
979                              }953                              }
980                              description954                              description
981                                "Detect multiplier";955                                "Detect multiplier";
982                            }956                            }
983                          }957                          }
984                        }958                        }
985                        leaf distance-metric {959                        leaf distance-metric {
986                          type uint32 {960                          type uint32 {
987                            range "1..254" {961                            range "1..254" {
988                              description962                              description
989                                "Distance metric for this route";963                                "Distance metric for this route";
990                            }964                            }
991                          }965                          }
992                          description966                          description
993                            "Distance metric for this route";967                            "Distance metric for this route";
994                        }968                        }
995                        leaf tag {969                        leaf tag {
996                          type uint32 {970                          type uint32 {
997                            range "1..4294967295" {971                            range "1..4294967295" {
998                              description972                              description
999                                "Set tag for this route";973                                "Set tag for this route";
1000                            }974                            }
1001                          }975                          }
1002                          description976                          description
1003                            "Set tag for this route";977                            "Set tag for this route";
1004                        }978                        }
1005                        container permanent {979                        container permanent {
1006                          presence "Indicates a permanent node is configured.";980                          presence "Indicates a permanent node is configured.";
1007                          description981                          description
1008                            "Permanent route";982                            "Permanent route";
1009                        }983                        }
1010                        leaf vrflabel {984                        leaf vrflabel {
1011                          type uint32 {985                          type uint32 {
1012                            range "0..4294967295" {986                            range "0..4294967295" {
1013                              description987                              description
1014                                "VRF label";988                                "VRF label";
1015                            }989                            }
1016                          }990                          }
1017                          description991                          description
1018                            "VRF label";992                            "VRF label";
1019                        }993                        }
1020                        leaf tunnel-id {994                        leaf tunnel-id {
1021                          type uint32 {995                          type uint32 {
1022                            range "0..4294967295" {996                            range "0..4294967295" {
1023                              description997                              description
1024                                "Tunnel ID";998                                "Tunnel ID";
1025                            }999                            }
1026                          }1000                          }
1027                          description1001                          description
1028                            "Tunnel ID";1002                            "Tunnel ID";
1029                        }1003                        }
1030                        leaf description {1004                        leaf description {
1031                          type string {1005                          type string {
1032                            length "1..30" {1006                            length "1..30" {
1033                              description1007                              description
1034                                "short description of static route";1008                                "short description of static route";
1035                            }1009                            }
1036                          }1010                          }
1037                          description1011                          description
1038                            "description of the static route";1012                            "description of the static route";
1039                        }1013                        }
1040                        leaf track {1014                        leaf track {
1041                          type xr:Cisco-ios-xr-string {1015                          type xr:Cisco-ios-xr-string {
1042                            length "1..32" {1016                            length "1..32" {
1043                              description1017                              description
1044                                "Object to be tracked";1018                                "Object to be tracked";
1045                            }1019                            }
1046                          }1020                          }
1047                          description1021                          description
1048                            "Enable object tracking for static route";1022                            "Enable object tracking for static route";
1049                        }1023                        }
1050                        leaf metric {1024                        leaf metric {
1051                          type uint32 {1025                          type uint32 {
1052                            range "1..16777214" {1026                            range "1..16777214" {
1053                              description1027                              description
1054                                "Set metric for this route";1028                                "Set metric for this route";
1055                            }1029                            }
1056                          }1030                          }
1057                          description1031                          description
1058                            "Set metric for this route";1032                            "Set metric for this route";
1059                        }1033                        }
1060                        container prefer-rib-over-ldp {1034                        container prefer-rib-over-ldp {
1061                          presence "Indicates a prefer-rib-over-ldp node is configured.";1035                          presence "Indicates a prefer-rib-over-ldp node is configured.";
1062                          description1036                          description
1063                            "Flag passed to rib to prefer rib over ldp";1037                            "Flag passed to rib to prefer rib over ldp";
1064                        }1038                        }
1065                      }1039                      }
1066                    }1040                    }
1067                    container nexthop-addresses {1041                    container nexthop-addresses {
1068                      description1042                      description
1069                        "Forwarding router's address";1043                        "Forwarding router's address";
1070                      list nexthop-address {1044                      list nexthop-address {
1071                        key "address";1045                        key "address";
1072                        description1046                        description
1073                          "Forwarding router's address";1047                          "Forwarding router's address";
1074                        leaf address {1048                        leaf address {
1075                          type inet:ipv4-address-no-zone;1049                          type inet:ipv4-address-no-zone;
1076                          description1050                          description
1077                            "Forwarding router's address";1051                            "Forwarding router's address";
1078                        }1052                        }
1079                        container bfd {1053                        container bfd {
1080                          description1054                          description
1081                            "Configure BFD paramenters";1055                            "Configure BFD paramenters";
1082                          container fast-detect {1056                          container fast-detect {
1083                            presence "Indicates a fast-detect node is configured.";1057                            presence "Indicates a fast-detect node is configured.";
1084                            description1058                            description
1085                              "Enable Fast detection";1059                              "Enable Fast detection";
1086                            leaf minimum-interval {1060                            leaf minimum-interval {
1087                              type uint32 {1061                              type uint32 {
1088                                range "3..30000" {1062                                range "3..30000" {
1089                                  description1063                                  description
1090                                    "interval in milli-seconds";1064                                    "interval in milli-seconds";
1091                                }1065                                }
1092                              }1066                              }
1093                              description1067                              description
1094                                "Hello interval";1068                                "Hello interval";
1095                            }1069                            }
1096                            leaf multiplier {1070                            leaf multiplier {
1097                              type uint32 {1071                              type uint32 {
1098                                range "1..10" {1072                                range "1..10" {
1099                                  description1073                                  description
1100                                    "Detect multiplier";1074                                    "Detect multiplier";
1101                                }1075                                }
1102                              }1076                              }
1103                              description1077                              description
1104                                "Detect multiplier";1078                                "Detect multiplier";
1105                            }1079                            }
1106                            container multihop {1080                            container multihop {
1107                              presence "Indicates a multihop node is configured.";1081                              presence "Indicates a multihop node is configured.";
1108                              description1082                              description
1109                                "Enable BFD Multihop";1083                                "Enable BFD Multihop";
1110                              leaf address {1084                              leaf address {
1111                                type inet:ipv4-address-no-zone;1085                                type inet:ipv4-address-no-zone;
1112                                mandatory true;1086                                mandatory true;
1113                                description1087                                description
1114                                  "Source address";1088                                  "Source address";
1115                              }1089                              }
1116                            }1090                            }
1117                          }1091                          }
1118                        }1092                        }
1119                        leaf distance-metric {1093                        leaf distance-metric {
1120                          type uint32 {1094                          type uint32 {
1121                            range "1..254" {1095                            range "1..254" {
1122                              description1096                              description
1123                                "Distance metric for this route";1097                                "Distance metric for this route";
1124                            }1098                            }
1125                          }1099                          }
1126                          description1100                          description
1127                            "Distance metric for this route";1101                            "Distance metric for this route";
1128                        }1102                        }
1129                        leaf tag {1103                        leaf tag {
1130                          type uint32 {1104                          type uint32 {
1131                            range "1..4294967295" {1105                            range "1..4294967295" {
1132                              description1106                              description
1133                                "Set tag for this route";1107                                "Set tag for this route";
1134                            }1108                            }
1135                          }1109                          }
1136                          description1110                          description
1137                            "Set tag for this route";1111                            "Set tag for this route";
1138                        }1112                        }
1139                        container permanent {1113                        container permanent {
1140                          presence "Indicates a permanent node is configured.";1114                          presence "Indicates a permanent node is configured.";
1141                          description1115                          description
1142                            "Permanent route";1116                            "Permanent route";
1143                        }1117                        }
1144                        leaf vrflabel {1118                        leaf vrflabel {
1145                          type uint32 {1119                          type uint32 {
1146                            range "0..4294967295" {1120                            range "0..4294967295" {
1147                              description1121                              description
1148                                "VRF label";1122                                "VRF label";
1149                            }1123                            }
1150                          }1124                          }
1151                          description1125                          description
1152                            "VRF label";1126                            "VRF label";
1153                        }1127                        }
1154                        leaf tunnel-id {1128                        leaf tunnel-id {
1155                          type uint32 {1129                          type uint32 {
1156                            range "0..4294967295" {1130                            range "0..4294967295" {
1157                              description1131                              description
1158                                "Tunnel ID";1132                                "Tunnel ID";
1159                            }1133                            }
1160                          }1134                          }
1161                          description1135                          description
1162                            "Tunnel ID";1136                            "Tunnel ID";
1163                        }1137                        }
1164                        leaf description {1138                        leaf description {
1165                          type string {1139                          type string {
1166                            length "1..30" {1140                            length "1..30" {
1167                              description1141                              description
1168                                "short description of static route";1142                                "short description of static route";
1169                            }1143                            }
1170                          }1144                          }
1171                          description1145                          description
1172                            "description of the static route";1146                            "description of the static route";
1173                        }1147                        }
1174                        leaf track {1148                        leaf track {
1175                          type xr:Cisco-ios-xr-string {1149                          type xr:Cisco-ios-xr-string {
1176                            length "1..32" {1150                            length "1..32" {
1177                              description1151                              description
1178                                "Object to be tracked";1152                                "Object to be tracked";
1179                            }1153                            }
1180                          }1154                          }
1181                          description1155                          description
1182                            "Enable object tracking for static route";1156                            "Enable object tracking for static route";
1183                        }1157                        }
1184                        leaf metric {1158                        leaf metric {
1185                          type uint32 {1159                          type uint32 {
1186                            range "1..16777214" {1160                            range "1..16777214" {
1187                              description1161                              description
1188                                "Set metric for this route";1162                                "Set metric for this route";
1189                            }1163                            }
1190                          }1164                          }
1191                          description1165                          description
1192                            "Set metric for this route";1166                            "Set metric for this route";
1193                        }1167                        }
1194                        container prefer-rib-over-ldp {1168                        container prefer-rib-over-ldp {
1195                          presence "Indicates a prefer-rib-over-ldp node is configured.";1169                          presence "Indicates a prefer-rib-over-ldp node is configured.";
1196                          description1170                          description
1197                            "Flag passed to rib to prefer rib over ldp";1171                            "Flag passed to rib to prefer rib over ldp";
1198                        }1172                        }
1199                      }1173                      }
1200                    }1174                    }
1201                  }1175                  }
1202                }1176                }
1203              }1177              }
1204            }1178            }
1205            container topologies {1179            container topologies {
1206              description1180              description
1207                "Topology static route configuration subcommands";1181                "Topology static route configuration subcommands";
1208              list topology {1182              list topology {
1209                key "topology-name";1183                key "topology-name";
1210                description1184                description
1211                  "Topology static route configuration subcommands";1185                  "Topology static route configuration subcommands";
1212                leaf topology-name {1186                leaf topology-name {
1213                  type xr:Cisco-ios-xr-string {1187                  type xr:Cisco-ios-xr-string {
1214                    length "1..63" {1188                    length "1..63" {
1215                      description1189                      description
1216                        "Topology name";1190                        "Topology name";
1217                    }1191                    }
1218                  }1192                  }
1219                  description1193                  description
1220                    "Topology static route configuration subcommands";1194                    "Topology static route configuration subcommands";
1221                }1195                }
1222              }1196              }
1223            }1197            }
1224          }1198          }
1225          container multicast {1199          container multicast {
1226            description1200            description
1227              "Multicast commands";1201              "Multicast commands";
1228            container prefixes {1202            container prefixes {
1229              description1203              description
1230                "Destination prefix";1204                "Destination prefix";
1231              list prefix {1205              list prefix {
1232                must1206                must
1233                  "segment-routing/mpls/path/names/name or1207                  "segment-routing/mpls/path/names/name or
1234                   sr-policies/sr-policy or1208                   sr-policies/sr-policy or
1235                   nexthop-interfaces/nexthop-interface or1209                   nexthop-interfaces/nexthop-interface or
1236                   nexthop-interface-addresses/nexthop-interface-address or1210                   nexthop-interface-addresses/nexthop-interface-address or
1237                   nexthop-addresses/nexthop-address or1211                   nexthop-addresses/nexthop-address or
1238                   nexthop-addresses/nexthop-address-segment-routing or1212                   nexthop-addresses/nexthop-address-segment-routing or
1239                   vrfs/vrf-only or vrfs/vrf/sr-policies/sr-policy or1213                   vrfs/vrf-only or vrfs/vrf/sr-policies/sr-policy or
1240                   vrfs/vrf/nexthop-interfaces/nexthop-interface or1214                   vrfs/vrf/nexthop-interfaces/nexthop-interface or
1241                   vrfs/vrf/nexthop-interface-addresses/nexthop-interface-address or1215                   vrfs/vrf/nexthop-interface-addresses/nexthop-interface-address or
1242                   vrfs/vrf/nexthop-addresses/nexthop-address";1216                   vrfs/vrf/nexthop-addresses/nexthop-address";
1243                key "prefix-address prefix-length";1217                key "prefix-address prefix-length";
1244                description1218                description
1245                  "Destination prefix";1219                  "Destination prefix";
1246                leaf prefix-address {1220                leaf prefix-address {
1247                  type inet:ipv4-address-no-zone;1221                  type inet:ipv4-address-no-zone;
1248                  description1222                  description
1249                    "Destination prefix";1223                    "Destination prefix";
1250                }1224                }
1251                leaf prefix-length {1225                leaf prefix-length {
1252                  type uint32 {1226                  type uint32 {
1253                    range "0..128";1227                    range "0..128";
1254                  }1228                  }
1255                  description1229                  description
1256                    "Destination prefix length";1230                    "Destination prefix length";
1257                }1231                }
1258                container segment-routing {1232                container segment-routing {
1259                  description1233                  description
1260                    "Configure Static Segment Routing";1234                    "Configure Static Segment Routing";
1261                  container mpls {1235                  container mpls {
1262                    description1236                    description
1263                      "Configure mpls path name";1237                      "Configure mpls path name";
1264                    container path {1238                    container path {
1265                      description1239                      description
1266                        "Configure path name";1240                        "Configure path name";
1267                      container names {1241                      container names {
1268                        description1242                        description
1269                          "Configure path name";1243                          "Configure path name";
1270                        list name {1244                        list name {
1271                          key "path-name";1245                          key "path-name";
1272                          description1246                          description
1273                            "Configure path name";1247                            "Configure path name";
1274                          leaf path-name {1248                          leaf path-name {
1275                            type xr:Cisco-ios-xr-string {1249                            type xr:Cisco-ios-xr-string {
1276                              length "1..1024" {1250                              length "1..1024" {
1277                                description1251                                description
1278                                  "Path name";1252                                  "Path name";
1279                              }1253                              }
1280                            }1254                            }
1281                            description1255                            description
1282                              "Configure path name";1256                              "Configure path name";
1283                          }1257                          }
1284                          leaf distance-metric {1258                          leaf distance-metric {
1285                            type uint32 {1259                            type uint32 {
1286                              range "1..254" {1260                              range "1..254" {
1287                                description1261                                description
1288                                  "Distance metric for this route";1262                                  "Distance metric for this route";
1289                              }1263                              }
1290                            }1264                            }
1291                            description1265                            description
1292                              "Distance metric for this route";1266                              "Distance metric for this route";
1293                          }1267                          }
1294                          leaf tag {1268                          leaf tag {
1295                            type uint32 {1269                            type uint32 {
1296                              range "1..4294967295" {1270                              range "1..4294967295" {
1297                                description1271                                description
1298                                  "Set tag for this route";1272                                  "Set tag for this route";
1299                              }1273                              }
1300                            }1274                            }
1301                            description1275                            description
1302                              "Set tag for this route";1276                              "Set tag for this route";
1303                          }1277                          }
1304                          leaf description {1278                          leaf description {
1305                            type string {1279                            type string {
1306                              length "1..30" {1280                              length "1..30" {
1307                                description1281                                description
1308                                  "short description of static route";1282                                  "short description of static route";
1309                              }1283                              }
1310                            }1284                            }
1311                            description1285                            description
1312                              "description of the static route";1286                              "description of the static route";
1313                          }1287                          }
1314                          leaf metric {1288                          leaf metric {
1315                            type uint32 {1289                            type uint32 {
1316                              range "1..16777214" {1290                              range "1..16777214" {
1317                                description1291                                description
1318                                  "Set metric for this route";1292                                  "Set metric for this route";
1319                              }1293                              }
1320                            }1294                            }
1321                            description1295                            description
1322                              "Set metric for this route";1296                              "Set metric for this route";
1323                          }1297                          }
1324                        }1298                        }
1325                      }1299                      }
1326                    }1300                    }
1327                  }1301                  }
1328                }1302                }
1329                container sr-policies {1303                container sr-policies {
1330                  description1304                  description
1331                    "segment routing policy";1305                    "segment routing policy";
1332                  list sr-policy {1306                  list sr-policy {
1333                    key "sr-policy-name";1307                    key "sr-policy-name";
1334                    description1308                    description
1335                      "segment routing policy";1309                      "segment routing policy";
1336                    leaf sr-policy-name {1310                    leaf sr-policy-name {
1337                      type xr:Cisco-ios-xr-string {1311                      type xr:Cisco-ios-xr-string {
1338                        length "1..1024" {1312                        length "1..1024" {
1339                          description1313                          description
1340                            "SR policy name";1314                            "SR policy name";
1341                        }1315                        }
1342                      }1316                      }
1343                      description1317                      description
1344                        "segment routing policy";1318                        "segment routing policy";
1345                    }1319                    }
1346                    leaf distance-metric {1320                    leaf distance-metric {
1347                      type uint32 {1321                      type uint32 {
1348                        range "1..254" {1322                        range "1..254" {
1349                          description1323                          description
1350                            "Distance metric for this route";1324                            "Distance metric for this route";
1351                        }1325                        }
1352                      }1326                      }
1353                      description1327                      description
1354                        "Distance metric for this route";1328                        "Distance metric for this route";
1355                    }1329                    }
1356                    leaf tag {1330                    leaf tag {
1357                      type uint32 {1331                      type uint32 {
1358                        range "1..4294967295" {1332                        range "1..4294967295" {
1359                          description1333                          description
1360                            "Set tag for this route";1334                            "Set tag for this route";
1361                        }1335                        }
1362                      }1336                      }
1363                      description1337                      description
1364                        "Set tag for this route";1338                        "Set tag for this route";
1365                    }1339                    }
1366                    container permanent {1340                    container permanent {
1367                      presence "Indicates a permanent node is configured.";1341                      presence "Indicates a permanent node is configured.";
1368                      description1342                      description
1369                        "Permanent route";1343                        "Permanent route";
1370                    }1344                    }
1371                    leaf vrflabel {1345                    leaf vrflabel {
1372                      type uint32 {1346                      type uint32 {
1373                        range "0..4294967295" {1347                        range "0..4294967295" {
1374                          description1348                          description
1375                            "VRF label";1349                            "VRF label";
1376                        }1350                        }
1377                      }1351                      }
1378                      description1352                      description
1379                        "VRF label";1353                        "VRF label";
1380                    }1354                    }
1381                    leaf tunnel-id {1355                    leaf tunnel-id {
1382                      type uint32 {1356                      type uint32 {
1383                        range "0..4294967295" {1357                        range "0..4294967295" {
1384                          description1358                          description
1385                            "Tunnel ID";1359                            "Tunnel ID";
1386                        }1360                        }
1387                      }1361                      }
1388                      description1362                      description
1389                        "Tunnel ID";1363                        "Tunnel ID";
1390                    }1364                    }
1391                    leaf description {1365                    leaf description {
1392                      type string {1366                      type string {
1393                        length "1..30" {1367                        length "1..30" {
1394                          description1368                          description
1395                            "short description of static route";1369                            "short description of static route";
1396                        }1370                        }
1397                      }1371                      }
1398                      description1372                      description
1399                        "description of the static route";1373                        "description of the static route";
1400                    }1374                    }
1401                    leaf track {1375                    leaf track {
1402                      type xr:Cisco-ios-xr-string {1376                      type xr:Cisco-ios-xr-string {
1403                        length "1..32" {1377                        length "1..32" {
1404                          description1378                          description
1405                            "Object to be tracked";1379                            "Object to be tracked";
1406                        }1380                        }
1407                      }1381                      }
1408                      description1382                      description
1409                        "Enable object tracking for static route";1383                        "Enable object tracking for static route";
1410                    }1384                    }
1411                    leaf metric {1385                    leaf metric {
1412                      type uint32 {1386                      type uint32 {
1413                        range "1..16777214" {1387                        range "1..16777214" {
1414                          description1388                          description
1415                            "Set metric for this route";1389                            "Set metric for this route";
1416                        }1390                        }
1417                      }1391                      }
1418                      description1392                      description
1419                        "Set metric for this route";1393                        "Set metric for this route";
1420                    }1394                    }
1421                    container prefer-rib-over-ldp {1395                    container prefer-rib-over-ldp {
1422                      presence "Indicates a prefer-rib-over-ldp node is configured.";1396                      presence "Indicates a prefer-rib-over-ldp node is configured.";
1423                      description1397                      description
1424                        "Flag passed to rib to prefer rib over ldp";1398                        "Flag passed to rib to prefer rib over ldp";
1425                    }1399                    }
1426                  }1400                  }
1427                }1401                }
1428                container nexthop-interfaces {1402                container nexthop-interfaces {
1429                  description1403                  description
1430                    "Forwarding interface";1404                    "Forwarding interface";
1431                  list nexthop-interface {1405                  list nexthop-interface {
1432                    key "interface-name";1406                    key "interface-name";
1433                    description1407                    description
1434                      "Forwarding interface";1408                      "Forwarding interface";
1435                    leaf interface-name {1409                    leaf interface-name {
1436                      type xr:Interface-name;1410                      type xr:Interface-name;
1437                      description1411                      description
1438                        "Forwarding interface";1412                        "Forwarding interface";
1439                    }1413                    }
1440                    leaf distance-metric {1414                    leaf distance-metric {
1441                      type uint32 {1415                      type uint32 {
1442                        range "1..254" {1416                        range "1..254" {
1443                          description1417                          description
1444                            "Distance metric for this route";1418                            "Distance metric for this route";
1445                        }1419                        }
1446                      }1420                      }
1447                      description1421                      description
1448                        "Distance metric for this route";1422                        "Distance metric for this route";
1449                    }1423                    }
1450                    leaf tag {1424                    leaf tag {
1451                      type uint32 {1425                      type uint32 {
1452                        range "1..4294967295" {1426                        range "1..4294967295" {
1453                          description1427                          description
1454                            "Set tag for this route";1428                            "Set tag for this route";
1455                        }1429                        }
1456                      }1430                      }
1457                      description1431                      description
1458                        "Set tag for this route";1432                        "Set tag for this route";
1459                    }1433                    }
1460                    container permanent {1434                    container permanent {
1461                      presence "Indicates a permanent node is configured.";1435                      presence "Indicates a permanent node is configured.";
1462                      description1436                      description
1463                        "Permanent route";1437                        "Permanent route";
1464                    }1438                    }
1465                    leaf vrflabel {1439                    leaf vrflabel {
1466                      type uint32 {1440                      type uint32 {
1467                        range "0..4294967295" {1441                        range "0..4294967295" {
1468                          description1442                          description
1469                            "VRF label";1443                            "VRF label";
1470                        }1444                        }
1471                      }1445                      }
1472                      description1446                      description
1473                        "VRF label";1447                        "VRF label";
1474                    }1448                    }
1475                    leaf tunnel-id {1449                    leaf tunnel-id {
1476                      type uint32 {1450                      type uint32 {
1477                        range "0..4294967295" {1451                        range "0..4294967295" {
1478                          description1452                          description
1479                            "Tunnel ID";1453                            "Tunnel ID";
1480                        }1454                        }
1481                      }1455                      }
1482                      description1456                      description
1483                        "Tunnel ID";1457                        "Tunnel ID";
1484                    }1458                    }
1485                    leaf description {1459                    leaf description {
1486                      type string {1460                      type string {
1487                        length "1..30" {1461                        length "1..30" {
1488                          description1462                          description
1489                            "short description of static route";1463                            "short description of static route";
1490                        }1464                        }
1491                      }1465                      }
1492                      description1466                      description
1493                        "description of the static route";1467                        "description of the static route";
1494                    }1468                    }
1495                    leaf track {1469                    leaf track {
1496                      type xr:Cisco-ios-xr-string {1470                      type xr:Cisco-ios-xr-string {
1497                        length "1..32" {1471                        length "1..32" {
1498                          description1472                          description
1499                            "Object to be tracked";1473                            "Object to be tracked";
1500                        }1474                        }
1501                      }1475                      }
1502                      description1476                      description
1503                        "Enable object tracking for static route";1477                        "Enable object tracking for static route";
1504                    }1478                    }
1505                    leaf metric {1479                    leaf metric {
1506                      type uint32 {1480                      type uint32 {
1507                        range "1..16777214" {1481                        range "1..16777214" {
1508                          description1482                          description
1509                            "Set metric for this route";1483                            "Set metric for this route";
1510                        }1484                        }
1511                      }1485                      }
1512                      description1486                      description
1513                        "Set metric for this route";1487                        "Set metric for this route";
1514                    }1488                    }
1515                    container prefer-rib-over-ldp {1489                    container prefer-rib-over-ldp {
1516                      presence "Indicates a prefer-rib-over-ldp node is configured.";1490                      presence "Indicates a prefer-rib-over-ldp node is configured.";
1517                      description1491                      description
1518                        "Flag passed to rib to prefer rib over ldp";1492                        "Flag passed to rib to prefer rib over ldp";
1519                    }1493                    }
1520                  }1494                  }
1521                }1495                }
1522                container nexthop-interface-addresses {1496                container nexthop-interface-addresses {
1523                  description1497                  description
1524                    "Forwarding interface";1498                    "Forwarding interface";
1525                  list nexthop-interface-address {1499                  list nexthop-interface-address {
1526                    key "interface-name address";1500                    key "interface-name address";
1527                    description1501                    description
1528                      "Forwarding interface";1502                      "Forwarding interface";
1529                    leaf interface-name {1503                    leaf interface-name {
1530                      type xr:Interface-name;1504                      type xr:Interface-name;
1531                      description1505                      description
1532                        "Forwarding interface";1506                        "Forwarding interface";
1533                    }1507                    }
1534                    leaf address {1508                    leaf address {
1535                      type inet:ipv4-address-no-zone;1509                      type inet:ipv4-address-no-zone;
1536                      description1510                      description
1537                        "Forwarding router's address";1511                        "Forwarding router's address";
1538                    }1512                    }
1539                    container bfd {1513                    container bfd {
1540                      description1514                      description
1541                        "Configure BFD paramenters";1515                        "Configure BFD paramenters";
1542                      container fast-detect {1516                      container fast-detect {
1543                        presence "Indicates a fast-detect node is configured.";1517                        presence "Indicates a fast-detect node is configured.";
1544                        description1518                        description
1545                          "Enable Fast detection";1519                          "Enable Fast detection";
1546                        leaf minimum-interval {1520                        leaf minimum-interval {
1547                          type uint32 {1521                          type uint32 {
1548                            range "3..30000" {1522                            range "3..30000" {
1549                              description1523                              description
1550                                "interval in milli-seconds";1524                                "interval in milli-seconds";
1551                            }1525                            }
1552                          }1526                          }
1553                          description1527                          description
1554                            "Hello interval";1528                            "Hello interval";
1555                        }1529                        }
1556                        leaf multiplier {1530                        leaf multiplier {
1557                          type uint32 {1531                          type uint32 {
1558                            range "1..10" {1532                            range "1..10" {
1559                              description1533                              description
1560                                "Detect multiplier";1534                                "Detect multiplier";
1561                            }1535                            }
1562                          }1536                          }
1563                          description1537                          description
1564                            "Detect multiplier";1538                            "Detect multiplier";
1565                        }1539                        }
1566                      }1540                      }
1567                    }1541                    }
1568                    leaf distance-metric {1542                    leaf distance-metric {
1569                      type uint32 {1543                      type uint32 {
1570                        range "1..254" {1544                        range "1..254" {
1571                          description1545                          description
1572                            "Distance metric for this route";1546                            "Distance metric for this route";
1573                        }1547                        }
1574                      }1548                      }
1575                      description1549                      description
1576                        "Distance metric for this route";1550                        "Distance metric for this route";
1577                    }1551                    }
1578                    leaf tag {1552                    leaf tag {
1579                      type uint32 {1553                      type uint32 {
1580                        range "1..4294967295" {1554                        range "1..4294967295" {
1581                          description1555                          description
1582                            "Set tag for this route";1556                            "Set tag for this route";
1583                        }1557                        }
1584                      }1558                      }
1585                      description1559                      description
1586                        "Set tag for this route";1560                        "Set tag for this route";
1587                    }1561                    }
1588                    container permanent {1562                    container permanent {
1589                      presence "Indicates a permanent node is configured.";1563                      presence "Indicates a permanent node is configured.";
1590                      description1564                      description
1591                        "Permanent route";1565                        "Permanent route";
1592                    }1566                    }
1593                    leaf vrflabel {1567                    leaf vrflabel {
1594                      type uint32 {1568                      type uint32 {
1595                        range "0..4294967295" {1569                        range "0..4294967295" {
1596                          description1570                          description
1597                            "VRF label";1571                            "VRF label";
1598                        }1572                        }
1599                      }1573                      }
1600                      description1574                      description
1601                        "VRF label";1575                        "VRF label";
1602                    }1576                    }
1603                    leaf tunnel-id {1577                    leaf tunnel-id {
1604                      type uint32 {1578                      type uint32 {
1605                        range "0..4294967295" {1579                        range "0..4294967295" {
1606                          description1580                          description
1607                            "Tunnel ID";1581                            "Tunnel ID";
1608                        }1582                        }
1609                      }1583                      }
1610                      description1584                      description
1611                        "Tunnel ID";1585                        "Tunnel ID";
1612                    }1586                    }
1613                    leaf description {1587                    leaf description {
1614                      type string {1588                      type string {
1615                        length "1..30" {1589                        length "1..30" {
1616                          description1590                          description
1617                            "short description of static route";1591                            "short description of static route";
1618                        }1592                        }
1619                      }1593                      }
1620                      description1594                      description
1621                        "description of the static route";1595                        "description of the static route";
1622                    }1596                    }
1623                    leaf track {1597                    leaf track {
1624                      type xr:Cisco-ios-xr-string {1598                      type xr:Cisco-ios-xr-string {
1625                        length "1..32" {1599                        length "1..32" {
1626                          description1600                          description
1627                            "Object to be tracked";1601                            "Object to be tracked";
1628                        }1602                        }
1629                      }1603                      }
1630                      description1604                      description
1631                        "Enable object tracking for static route";1605                        "Enable object tracking for static route";
1632                    }1606                    }
1633                    leaf metric {1607                    leaf metric {
1634                      type uint32 {1608                      type uint32 {
1635                        range "1..16777214" {1609                        range "1..16777214" {
1636                          description1610                          description
1637                            "Set metric for this route";1611                            "Set metric for this route";
1638                        }1612                        }
1639                      }1613                      }
1640                      description1614                      description
1641                        "Set metric for this route";1615                        "Set metric for this route";
1642                    }1616                    }
1643                    container prefer-rib-over-ldp {1617                    container prefer-rib-over-ldp {
1644                      presence "Indicates a prefer-rib-over-ldp node is configured.";1618                      presence "Indicates a prefer-rib-over-ldp node is configured.";
1645                      description1619                      description
1646                        "Flag passed to rib to prefer rib over ldp";1620                        "Flag passed to rib to prefer rib over ldp";
1647                    }1621                    }
1648                  }1622                  }
1649                }1623                }
1650                container nexthop-addresses {1624                container nexthop-addresses {
1651                  description1625                  description
1652                    "Forwarding router's address";1626                    "Forwarding router's address";
1653                  list nexthop-address {1627                  list nexthop-address {
1654                    key "address";1628                    key "address";
1655                    description1629                    description
1656                      "Forwarding router's address";1630                      "Forwarding router's address";
1657                    leaf address {1631                    leaf address {
1658                      type inet:ipv4-address-no-zone;1632                      type inet:ipv4-address-no-zone;
1659                      description1633                      description
1660                        "Forwarding router's address";1634                        "Forwarding router's address";
1661                    }1635                    }
1662                    container bfd {1636                    container bfd {
1663                      description1637                      description
1664                        "Configure BFD paramenters";1638                        "Configure BFD paramenters";
1665                      container fast-detect {1639                      container fast-detect {
1666                        presence "Indicates a fast-detect node is configured.";1640                        presence "Indicates a fast-detect node is configured.";
1667                        description1641                        description
1668                          "Enable Fast detection";1642                          "Enable Fast detection";
1669                        leaf minimum-interval {1643                        leaf minimum-interval {
1670                          type uint32 {1644                          type uint32 {
1671                            range "3..30000" {1645                            range "3..30000" {
1672                              description1646                              description
1673                                "interval in milli-seconds";1647                                "interval in milli-seconds";
1674                            }1648                            }
1675                          }1649                          }
1676                          description1650                          description
1677                            "Hello interval";1651                            "Hello interval";
1678                        }1652                        }
1679                        leaf multiplier {1653                        leaf multiplier {
1680                          type uint32 {1654                          type uint32 {
1681                            range "1..10" {1655                            range "1..10" {
1682                              description1656                              description
1683                                "Detect multiplier";1657                                "Detect multiplier";
1684                            }1658                            }
1685                          }1659                          }
1686                          description1660                          description
1687                            "Detect multiplier";1661                            "Detect multiplier";
1688                        }1662                        }
1689                        container multihop {1663                        container multihop {
1690                          presence "Indicates a multihop node is configured.";1664                          presence "Indicates a multihop node is configured.";
1691                          description1665                          description
1692                            "Enable BFD Multihop";1666                            "Enable BFD Multihop";
1693                          leaf address {1667                          leaf address {
1694                            type inet:ipv4-address-no-zone;1668                            type inet:ipv4-address-no-zone;
1695                            mandatory true;1669                            mandatory true;
1696                            description1670                            description
1697                              "Source address";1671                              "Source address";
1698                          }1672                          }
1699                        }1673                        }
1700                      }1674                      }
1701                    }1675                    }
1702                    leaf distance-metric {1676                    leaf distance-metric {
1703                      type uint32 {1677                      type uint32 {
1704                        range "1..254" {1678                        range "1..254" {
1705                          description1679                          description
1706                            "Distance metric for this route";1680                            "Distance metric for this route";
1707                        }1681                        }
1708                      }1682                      }
1709                      description1683                      description
1710                        "Distance metric for this route";1684                        "Distance metric for this route";
1711                    }1685                    }
1712                    leaf tag {1686                    leaf tag {
1713                      type uint32 {1687                      type uint32 {
1714                        range "1..4294967295" {1688                        range "1..4294967295" {
1715                          description1689                          description
1716                            "Set tag for this route";1690                            "Set tag for this route";
1717                        }1691                        }
1718                      }1692                      }
1719                      description1693                      description
1720                        "Set tag for this route";1694                        "Set tag for this route";
1721                    }1695                    }
1722                    container permanent {1696                    container permanent {
1723                      presence "Indicates a permanent node is configured.";1697                      presence "Indicates a permanent node is configured.";
1724                      description1698                      description
1725                        "Permanent route";1699                        "Permanent route";
1726                    }1700                    }
1727                    leaf vrflabel {1701                    leaf vrflabel {
1728                      type uint32 {1702                      type uint32 {
1729                        range "0..4294967295" {1703                        range "0..4294967295" {
1730                          description1704                          description
1731                            "VRF label";1705                            "VRF label";
1732                        }1706                        }
1733                      }1707                      }
1734                      description1708                      description
1735                        "VRF label";1709                        "VRF label";
1736                    }1710                    }
1737                    leaf tunnel-id {1711                    leaf tunnel-id {
1738                      type uint32 {1712                      type uint32 {
1739                        range "0..4294967295" {1713                        range "0..4294967295" {
1740                          description1714                          description
1741                            "Tunnel ID";1715                            "Tunnel ID";
1742                        }1716                        }
1743                      }1717                      }
1744                      description1718                      description
1745                        "Tunnel ID";1719                        "Tunnel ID";
1746                    }1720                    }
1747                    leaf description {1721                    leaf description {
1748                      type string {1722                      type string {
1749                        length "1..30" {1723                        length "1..30" {
1750                          description1724                          description
1751                            "short description of static route";1725                            "short description of static route";
1752                        }1726                        }
1753                      }1727                      }
1754                      description1728                      description
1755                        "description of the static route";1729                        "description of the static route";
1756                    }1730                    }
1757                    leaf track {1731                    leaf track {
1758                      type xr:Cisco-ios-xr-string {1732                      type xr:Cisco-ios-xr-string {
1759                        length "1..32" {1733                        length "1..32" {
1760                          description1734                          description
1761                            "Object to be tracked";1735                            "Object to be tracked";
1762                        }1736                        }
1763                      }1737                      }
1764                      description1738                      description
1765                        "Enable object tracking for static route";1739                        "Enable object tracking for static route";
1766                    }1740                    }
1767                    leaf metric {1741                    leaf metric {
1768                      type uint32 {1742                      type uint32 {
1769                        range "1..16777214" {1743                        range "1..16777214" {
1770                          description1744                          description
1771                            "Set metric for this route";1745                            "Set metric for this route";
1772                        }1746                        }
1773                      }1747                      }
1774                      description1748                      description
1775                        "Set metric for this route";1749                        "Set metric for this route";
1776                    }1750                    }
1777                    container prefer-rib-over-ldp {1751                    container prefer-rib-over-ldp {
1778                      presence "Indicates a prefer-rib-over-ldp node is configured.";1752                      presence "Indicates a prefer-rib-over-ldp node is configured.";
1779                      description1753                      description
1780                        "Flag passed to rib to prefer rib over ldp";1754                        "Flag passed to rib to prefer rib over ldp";
1781                    }1755                    }
1782                  }1756                  }
1783                  list nexthop-address-segment-routing {1757                  list nexthop-address-segment-routing {
1784                    key "address mpls-path-name";1758                    key "address mpls-path-name";
1785                    description1759                    description
1786                      "Forwarding router's address";1760                      "Forwarding router's address";
1787                    leaf address {1761                    leaf address {
1788                      type inet:ipv4-address-no-zone;1762                      type inet:ipv4-address-no-zone;
1789                      description1763                      description
1790                        "Forwarding router's address";1764                        "Forwarding router's address";
1791                    }1765                    }
1792                    leaf mpls-path-name {1766                    leaf mpls-path-name {
1793                      type xr:Cisco-ios-xr-string {1767                      type xr:Cisco-ios-xr-string {
1794                        length "1..1024" {1768                        length "1..1024" {
1795                          description1769                          description
1796                            "Path name";1770                            "Path name";
1797                        }1771                        }
1798                      }1772                      }
1799                      description1773                      description
1800                        "Configure path name";1774                        "Configure path name";
1801                    }1775                    }
1802                    leaf distance-metric {1776                    leaf distance-metric {
1803                      type uint32 {1777                      type uint32 {
1804                        range "1..254" {1778                        range "1..254" {
1805                          description1779                          description
1806                            "Distance metric for this route";1780                            "Distance metric for this route";
1807                        }1781                        }
1808                      }1782                      }
1809                      description1783                      description
1810                        "Distance metric for this route";1784                        "Distance metric for this route";
1811                    }1785                    }
1812                    leaf tag {1786                    leaf tag {
1813                      type uint32 {1787                      type uint32 {
1814                        range "1..4294967295" {1788                        range "1..4294967295" {
1815                          description1789                          description
1816                            "Set tag for this route";1790                            "Set tag for this route";
1817                        }1791                        }
1818                      }1792                      }
1819                      description1793                      description
1820                        "Set tag for this route";1794                        "Set tag for this route";
1821                    }1795                    }
1822                    leaf description {1796                    leaf description {
1823                      type string {1797                      type string {
1824                        length "1..30" {1798                        length "1..30" {
1825                          description1799                          description
1826                            "short description of static route";1800                            "short description of static route";
1827                        }1801                        }
1828                      }1802                      }
1829                      description1803                      description
1830                        "description of the static route";1804                        "description of the static route";
1831                    }1805                    }
1832                    leaf metric {1806                    leaf metric {
1833                      type uint32 {1807                      type uint32 {
1834                        range "1..16777214" {1808                        range "1..16777214" {
1835                          description1809                          description
1836                            "Set metric for this route";1810                            "Set metric for this route";
1837                        }1811                        }
1838                      }1812                      }
1839                      description1813                      description
1840                        "Set metric for this route";1814                        "Set metric for this route";
1841                    }1815                    }
1842                  }1816                  }
1843                }1817                }
1844                container vrfs {1818                container vrfs {
1845                  description1819                  description
1846                    "Destination VRF";1820                    "Destination VRF";
1847                  list vrf-only {1821                  list vrf-only {
1848                    key "vrf-name";1822                    key "vrf-name";
1849                    description1823                    description
1850                      "Destination only VRF";1824                      "Destination only VRF";
1851                    leaf vrf-name {1825                    leaf vrf-name {
1852                      type xr:Cisco-ios-xr-string {1826                      type xr:Cisco-ios-xr-string {
1853                        length "1..32" {1827                        length "1..32" {
1854                          description1828                          description
1855                            "VRF name";1829                            "VRF name";
1856                        }1830                        }
1857                      }1831                      }
1858                      description1832                      description
1859                        "Destination VRF";1833                        "Destination VRF";
1860                    }1834                    }
n1861                    leaf description {n
1862                      type string {
1863                        length "1..254" {
1864                          description
1865                            "short description of static route";
1866                        }
1867                      }
1868                      description
1869                        "description of the static route";
1870                    }
1871                  }1835                  }
1872                  list vrf {1836                  list vrf {
1873                    must1837                    must
1874                      "sr-policies/sr-policy or1838                      "sr-policies/sr-policy or
1875                       nexthop-interfaces/nexthop-interface or1839                       nexthop-interfaces/nexthop-interface or
1876                       nexthop-interface-addresses/nexthop-interface-address or1840                       nexthop-interface-addresses/nexthop-interface-address or
1877                       nexthop-addresses/nexthop-address";1841                       nexthop-addresses/nexthop-address";
1878                    key "vrf-name";1842                    key "vrf-name";
1879                    description1843                    description
1880                      "Destination VRF";1844                      "Destination VRF";
1881                    leaf vrf-name {1845                    leaf vrf-name {
1882                      type xr:Cisco-ios-xr-string {1846                      type xr:Cisco-ios-xr-string {
1883                        length "1..32" {1847                        length "1..32" {
1884                          description1848                          description
1885                            "VRF name";1849                            "VRF name";
1886                        }1850                        }
1887                      }1851                      }
1888                      description1852                      description
1889                        "Destination VRF";1853                        "Destination VRF";
1890                    }1854                    }
1891                    container sr-policies {1855                    container sr-policies {
1892                      description1856                      description
1893                        "segment routing policy";1857                        "segment routing policy";
1894                      list sr-policy {1858                      list sr-policy {
1895                        key "sr-policy-name";1859                        key "sr-policy-name";
1896                        description1860                        description
1897                          "segment routing policy";1861                          "segment routing policy";
1898                        leaf sr-policy-name {1862                        leaf sr-policy-name {
1899                          type xr:Cisco-ios-xr-string {1863                          type xr:Cisco-ios-xr-string {
1900                            length "1..1024" {1864                            length "1..1024" {
1901                              description1865                              description
1902                                "SR policy name";1866                                "SR policy name";
1903                            }1867                            }
1904                          }1868                          }
1905                          description1869                          description
1906                            "segment routing policy";1870                            "segment routing policy";
1907                        }1871                        }
1908                        leaf distance-metric {1872                        leaf distance-metric {
1909                          type uint32 {1873                          type uint32 {
1910                            range "1..254" {1874                            range "1..254" {
1911                              description1875                              description
1912                                "Distance metric for this route";1876                                "Distance metric for this route";
1913                            }1877                            }
1914                          }1878                          }
1915                          description1879                          description
1916                            "Distance metric for this route";1880                            "Distance metric for this route";
1917                        }1881                        }
1918                        leaf tag {1882                        leaf tag {
1919                          type uint32 {1883                          type uint32 {
1920                            range "1..4294967295" {1884                            range "1..4294967295" {
1921                              description1885                              description
1922                                "Set tag for this route";1886                                "Set tag for this route";
1923                            }1887                            }
1924                          }1888                          }
1925                          description1889                          description
1926                            "Set tag for this route";1890                            "Set tag for this route";
1927                        }1891                        }
1928                        container permanent {1892                        container permanent {
1929                          presence "Indicates a permanent node is configured.";1893                          presence "Indicates a permanent node is configured.";
1930                          description1894                          description
1931                            "Permanent route";1895                            "Permanent route";
1932                        }1896                        }
1933                        leaf vrflabel {1897                        leaf vrflabel {
1934                          type uint32 {1898                          type uint32 {
1935                            range "0..4294967295" {1899                            range "0..4294967295" {
1936                              description1900                              description
1937                                "VRF label";1901                                "VRF label";
1938                            }1902                            }
1939                          }1903                          }
1940                          description1904                          description
1941                            "VRF label";1905                            "VRF label";
1942                        }1906                        }
1943                        leaf tunnel-id {1907                        leaf tunnel-id {
1944                          type uint32 {1908                          type uint32 {
1945                            range "0..4294967295" {1909                            range "0..4294967295" {
1946                              description1910                              description
1947                                "Tunnel ID";1911                                "Tunnel ID";
1948                            }1912                            }
1949                          }1913                          }
1950                          description1914                          description
1951                            "Tunnel ID";1915                            "Tunnel ID";
1952                        }1916                        }
1953                        leaf description {1917                        leaf description {
1954                          type string {1918                          type string {
1955                            length "1..30" {1919                            length "1..30" {
1956                              description1920                              description
1957                                "short description of static route";1921                                "short description of static route";
1958                            }1922                            }
1959                          }1923                          }
1960                          description1924                          description
1961                            "description of the static route";1925                            "description of the static route";
1962                        }1926                        }
1963                        leaf track {1927                        leaf track {
1964                          type xr:Cisco-ios-xr-string {1928                          type xr:Cisco-ios-xr-string {
1965                            length "1..32" {1929                            length "1..32" {
1966                              description1930                              description
1967                                "Object to be tracked";1931                                "Object to be tracked";
1968                            }1932                            }
1969                          }1933                          }
1970                          description1934                          description
1971                            "Enable object tracking for static route";1935                            "Enable object tracking for static route";
1972                        }1936                        }
1973                        leaf metric {1937                        leaf metric {
1974                          type uint32 {1938                          type uint32 {
1975                            range "1..16777214" {1939                            range "1..16777214" {
1976                              description1940                              description
1977                                "Set metric for this route";1941                                "Set metric for this route";
1978                            }1942                            }
1979                          }1943                          }
1980                          description1944                          description
1981                            "Set metric for this route";1945                            "Set metric for this route";
1982                        }1946                        }
1983                        container prefer-rib-over-ldp {1947                        container prefer-rib-over-ldp {
1984                          presence "Indicates a prefer-rib-over-ldp node is configured.";1948                          presence "Indicates a prefer-rib-over-ldp node is configured.";
1985                          description1949                          description
1986                            "Flag passed to rib to prefer rib over ldp";1950                            "Flag passed to rib to prefer rib over ldp";
1987                        }1951                        }
1988                      }1952                      }
1989                    }1953                    }
1990                    container nexthop-interfaces {1954                    container nexthop-interfaces {
1991                      description1955                      description
1992                        "Forwarding interface";1956                        "Forwarding interface";
1993                      list nexthop-interface {1957                      list nexthop-interface {
1994                        key "interface-name";1958                        key "interface-name";
1995                        description1959                        description
1996                          "Forwarding interface";1960                          "Forwarding interface";
1997                        leaf interface-name {1961                        leaf interface-name {
1998                          type xr:Interface-name;1962                          type xr:Interface-name;
1999                          description1963                          description
2000                            "Forwarding interface";1964                            "Forwarding interface";
2001                        }1965                        }
2002                        leaf distance-metric {1966                        leaf distance-metric {
2003                          type uint32 {1967                          type uint32 {
2004                            range "1..254" {1968                            range "1..254" {
2005                              description1969                              description
2006                                "Distance metric for this route";1970                                "Distance metric for this route";
2007                            }1971                            }
2008                          }1972                          }
2009                          description1973                          description
2010                            "Distance metric for this route";1974                            "Distance metric for this route";
2011                        }1975                        }
2012                        leaf tag {1976                        leaf tag {
2013                          type uint32 {1977                          type uint32 {
2014                            range "1..4294967295" {1978                            range "1..4294967295" {
2015                              description1979                              description
2016                                "Set tag for this route";1980                                "Set tag for this route";
2017                            }1981                            }
2018                          }1982                          }
2019                          description1983                          description
2020                            "Set tag for this route";1984                            "Set tag for this route";
2021                        }1985                        }
2022                        container permanent {1986                        container permanent {
2023                          presence "Indicates a permanent node is configured.";1987                          presence "Indicates a permanent node is configured.";
2024                          description1988                          description
2025                            "Permanent route";1989                            "Permanent route";
2026                        }1990                        }
2027                        leaf vrflabel {1991                        leaf vrflabel {
2028                          type uint32 {1992                          type uint32 {
2029                            range "0..4294967295" {1993                            range "0..4294967295" {
2030                              description1994                              description
2031                                "VRF label";1995                                "VRF label";
2032                            }1996                            }
2033                          }1997                          }
2034                          description1998                          description
2035                            "VRF label";1999                            "VRF label";
2036                        }2000                        }
2037                        leaf tunnel-id {2001                        leaf tunnel-id {
2038                          type uint32 {2002                          type uint32 {
2039                            range "0..4294967295" {2003                            range "0..4294967295" {
2040                              description2004                              description
2041                                "Tunnel ID";2005                                "Tunnel ID";
2042                            }2006                            }
2043                          }2007                          }
2044                          description2008                          description
2045                            "Tunnel ID";2009                            "Tunnel ID";
2046                        }2010                        }
2047                        leaf description {2011                        leaf description {
2048                          type string {2012                          type string {
2049                            length "1..30" {2013                            length "1..30" {
2050                              description2014                              description
2051                                "short description of static route";2015                                "short description of static route";
2052                            }2016                            }
2053                          }2017                          }
2054                          description2018                          description
2055                            "description of the static route";2019                            "description of the static route";
2056                        }2020                        }
2057                        leaf track {2021                        leaf track {
2058                          type xr:Cisco-ios-xr-string {2022                          type xr:Cisco-ios-xr-string {
2059                            length "1..32" {2023                            length "1..32" {
2060                              description2024                              description
2061                                "Object to be tracked";2025                                "Object to be tracked";
2062                            }2026                            }
2063                          }2027                          }
2064                          description2028                          description
2065                            "Enable object tracking for static route";2029                            "Enable object tracking for static route";
2066                        }2030                        }
2067                        leaf metric {2031                        leaf metric {
2068                          type uint32 {2032                          type uint32 {
2069                            range "1..16777214" {2033                            range "1..16777214" {
2070                              description2034                              description
2071                                "Set metric for this route";2035                                "Set metric for this route";
2072                            }2036                            }
2073                          }2037                          }
2074                          description2038                          description
2075                            "Set metric for this route";2039                            "Set metric for this route";
2076                        }2040                        }
2077                        container prefer-rib-over-ldp {2041                        container prefer-rib-over-ldp {
2078                          presence "Indicates a prefer-rib-over-ldp node is configured.";2042                          presence "Indicates a prefer-rib-over-ldp node is configured.";
2079                          description2043                          description
2080                            "Flag passed to rib to prefer rib over ldp";2044                            "Flag passed to rib to prefer rib over ldp";
2081                        }2045                        }
2082                      }2046                      }
2083                    }2047                    }
2084                    container nexthop-interface-addresses {2048                    container nexthop-interface-addresses {
2085                      description2049                      description
2086                        "Forwarding interface";2050                        "Forwarding interface";
2087                      list nexthop-interface-address {2051                      list nexthop-interface-address {
2088                        key "interface-name address";2052                        key "interface-name address";
2089                        description2053                        description
2090                          "Forwarding interface";2054                          "Forwarding interface";
2091                        leaf interface-name {2055                        leaf interface-name {
2092                          type xr:Interface-name;2056                          type xr:Interface-name;
2093                          description2057                          description
2094                            "Forwarding interface";2058                            "Forwarding interface";
2095                        }2059                        }
2096                        leaf address {2060                        leaf address {
2097                          type inet:ipv4-address-no-zone;2061                          type inet:ipv4-address-no-zone;
2098                          description2062                          description
2099                            "Forwarding router's address";2063                            "Forwarding router's address";
2100                        }2064                        }
2101                        container bfd {2065                        container bfd {
2102                          description2066                          description
2103                            "Configure BFD paramenters";2067                            "Configure BFD paramenters";
2104                          container fast-detect {2068                          container fast-detect {
2105                            presence "Indicates a fast-detect node is configured.";2069                            presence "Indicates a fast-detect node is configured.";
2106                            description2070                            description
2107                              "Enable Fast detection";2071                              "Enable Fast detection";
2108                            leaf minimum-interval {2072                            leaf minimum-interval {
2109                              type uint32 {2073                              type uint32 {
2110                                range "3..30000" {2074                                range "3..30000" {
2111                                  description2075                                  description
2112                                    "interval in milli-seconds";2076                                    "interval in milli-seconds";
2113                                }2077                                }
2114                              }2078                              }
2115                              description2079                              description
2116                                "Hello interval";2080                                "Hello interval";
2117                            }2081                            }
2118                            leaf multiplier {2082                            leaf multiplier {
2119                              type uint32 {2083                              type uint32 {
2120                                range "1..10" {2084                                range "1..10" {
2121                                  description2085                                  description
2122                                    "Detect multiplier";2086                                    "Detect multiplier";
2123                                }2087                                }
2124                              }2088                              }
2125                              description2089                              description
2126                                "Detect multiplier";2090                                "Detect multiplier";
2127                            }2091                            }
2128                          }2092                          }
2129                        }2093                        }
2130                        leaf distance-metric {2094                        leaf distance-metric {
2131                          type uint32 {2095                          type uint32 {
2132                            range "1..254" {2096                            range "1..254" {
2133                              description2097                              description
2134                                "Distance metric for this route";2098                                "Distance metric for this route";
2135                            }2099                            }
2136                          }2100                          }
2137                          description2101                          description
2138                            "Distance metric for this route";2102                            "Distance metric for this route";
2139                        }2103                        }
2140                        leaf tag {2104                        leaf tag {
2141                          type uint32 {2105                          type uint32 {
2142                            range "1..4294967295" {2106                            range "1..4294967295" {
2143                              description2107                              description
2144                                "Set tag for this route";2108                                "Set tag for this route";
2145                            }2109                            }
2146                          }2110                          }
2147                          description2111                          description
2148                            "Set tag for this route";2112                            "Set tag for this route";
2149                        }2113                        }
2150                        container permanent {2114                        container permanent {
2151                          presence "Indicates a permanent node is configured.";2115                          presence "Indicates a permanent node is configured.";
2152                          description2116                          description
2153                            "Permanent route";2117                            "Permanent route";
2154                        }2118                        }
2155                        leaf vrflabel {2119                        leaf vrflabel {
2156                          type uint32 {2120                          type uint32 {
2157                            range "0..4294967295" {2121                            range "0..4294967295" {
2158                              description2122                              description
2159                                "VRF label";2123                                "VRF label";
2160                            }2124                            }
2161                          }2125                          }
2162                          description2126                          description
2163                            "VRF label";2127                            "VRF label";
2164                        }2128                        }
2165                        leaf tunnel-id {2129                        leaf tunnel-id {
2166                          type uint32 {2130                          type uint32 {
2167                            range "0..4294967295" {2131                            range "0..4294967295" {
2168                              description2132                              description
2169                                "Tunnel ID";2133                                "Tunnel ID";
2170                            }2134                            }
2171                          }2135                          }
2172                          description2136                          description
2173                            "Tunnel ID";2137                            "Tunnel ID";
2174                        }2138                        }
2175                        leaf description {2139                        leaf description {
2176                          type string {2140                          type string {
2177                            length "1..30" {2141                            length "1..30" {
2178                              description2142                              description
2179                                "short description of static route";2143                                "short description of static route";
2180                            }2144                            }
2181                          }2145                          }
2182                          description2146                          description
2183                            "description of the static route";2147                            "description of the static route";
2184                        }2148                        }
2185                        leaf track {2149                        leaf track {
2186                          type xr:Cisco-ios-xr-string {2150                          type xr:Cisco-ios-xr-string {
2187                            length "1..32" {2151                            length "1..32" {
2188                              description2152                              description
2189                                "Object to be tracked";2153                                "Object to be tracked";
2190                            }2154                            }
2191                          }2155                          }
2192                          description2156                          description
2193                            "Enable object tracking for static route";2157                            "Enable object tracking for static route";
2194                        }2158                        }
2195                        leaf metric {2159                        leaf metric {
2196                          type uint32 {2160                          type uint32 {
2197                            range "1..16777214" {2161                            range "1..16777214" {
2198                              description2162                              description
2199                                "Set metric for this route";2163                                "Set metric for this route";
2200                            }2164                            }
2201                          }2165                          }
2202                          description2166                          description
2203                            "Set metric for this route";2167                            "Set metric for this route";
2204                        }2168                        }
2205                        container prefer-rib-over-ldp {2169                        container prefer-rib-over-ldp {
2206                          presence "Indicates a prefer-rib-over-ldp node is configured.";2170                          presence "Indicates a prefer-rib-over-ldp node is configured.";
2207                          description2171                          description
2208                            "Flag passed to rib to prefer rib over ldp";2172                            "Flag passed to rib to prefer rib over ldp";
2209                        }2173                        }
2210                      }2174                      }
2211                    }2175                    }
2212                    container nexthop-addresses {2176                    container nexthop-addresses {
2213                      description2177                      description
2214                        "Forwarding router's address";2178                        "Forwarding router's address";
2215                      list nexthop-address {2179                      list nexthop-address {
2216                        key "address";2180                        key "address";
2217                        description2181                        description
2218                          "Forwarding router's address";2182                          "Forwarding router's address";
2219                        leaf address {2183                        leaf address {
2220                          type inet:ipv4-address-no-zone;2184                          type inet:ipv4-address-no-zone;
2221                          description2185                          description
2222                            "Forwarding router's address";2186                            "Forwarding router's address";
2223                        }2187                        }
2224                        container bfd {2188                        container bfd {
2225                          description2189                          description
2226                            "Configure BFD paramenters";2190                            "Configure BFD paramenters";
2227                          container fast-detect {2191                          container fast-detect {
2228                            presence "Indicates a fast-detect node is configured.";2192                            presence "Indicates a fast-detect node is configured.";
2229                            description2193                            description
2230                              "Enable Fast detection";2194                              "Enable Fast detection";
2231                            leaf minimum-interval {2195                            leaf minimum-interval {
2232                              type uint32 {2196                              type uint32 {
2233                                range "3..30000" {2197                                range "3..30000" {
2234                                  description2198                                  description
2235                                    "interval in milli-seconds";2199                                    "interval in milli-seconds";
2236                                }2200                                }
2237                              }2201                              }
2238                              description2202                              description
2239                                "Hello interval";2203                                "Hello interval";
2240                            }2204                            }
2241                            leaf multiplier {2205                            leaf multiplier {
2242                              type uint32 {2206                              type uint32 {
2243                                range "1..10" {2207                                range "1..10" {
2244                                  description2208                                  description
2245                                    "Detect multiplier";2209                                    "Detect multiplier";
2246                                }2210                                }
2247                              }2211                              }
2248                              description2212                              description
2249                                "Detect multiplier";2213                                "Detect multiplier";
2250                            }2214                            }
2251                            container multihop {2215                            container multihop {
2252                              presence "Indicates a multihop node is configured.";2216                              presence "Indicates a multihop node is configured.";
2253                              description2217                              description
2254                                "Enable BFD Multihop";2218                                "Enable BFD Multihop";
2255                              leaf address {2219                              leaf address {
2256                                type inet:ipv4-address-no-zone;2220                                type inet:ipv4-address-no-zone;
2257                                mandatory true;2221                                mandatory true;
2258                                description2222                                description
2259                                  "Source address";2223                                  "Source address";
2260                              }2224                              }
2261                            }2225                            }
2262                          }2226                          }
2263                        }2227                        }
2264                        leaf distance-metric {2228                        leaf distance-metric {
2265                          type uint32 {2229                          type uint32 {
2266                            range "1..254" {2230                            range "1..254" {
2267                              description2231                              description
2268                                "Distance metric for this route";2232                                "Distance metric for this route";
2269                            }2233                            }
2270                          }2234                          }
2271                          description2235                          description
2272                            "Distance metric for this route";2236                            "Distance metric for this route";
2273                        }2237                        }
2274                        leaf tag {2238                        leaf tag {
2275                          type uint32 {2239                          type uint32 {
2276                            range "1..4294967295" {2240                            range "1..4294967295" {
2277                              description2241                              description
2278                                "Set tag for this route";2242                                "Set tag for this route";
2279                            }2243                            }
2280                          }2244                          }
2281                          description2245                          description
2282                            "Set tag for this route";2246                            "Set tag for this route";
2283                        }2247                        }
2284                        container permanent {2248                        container permanent {
2285                          presence "Indicates a permanent node is configured.";2249                          presence "Indicates a permanent node is configured.";
2286                          description2250                          description
2287                            "Permanent route";2251                            "Permanent route";
2288                        }2252                        }
2289                        leaf vrflabel {2253                        leaf vrflabel {
2290                          type uint32 {2254                          type uint32 {
2291                            range "0..4294967295" {2255                            range "0..4294967295" {
2292                              description2256                              description
2293                                "VRF label";2257                                "VRF label";
2294                            }2258                            }
2295                          }2259                          }
2296                          description2260                          description
2297                            "VRF label";2261                            "VRF label";
2298                        }2262                        }
2299                        leaf tunnel-id {2263                        leaf tunnel-id {
2300                          type uint32 {2264                          type uint32 {
2301                            range "0..4294967295" {2265                            range "0..4294967295" {
2302                              description2266                              description
2303                                "Tunnel ID";2267                                "Tunnel ID";
2304                            }2268                            }
2305                          }2269                          }
2306                          description2270                          description
2307                            "Tunnel ID";2271                            "Tunnel ID";
2308                        }2272                        }
2309                        leaf description {2273                        leaf description {
2310                          type string {2274                          type string {
2311                            length "1..30" {2275                            length "1..30" {
2312                              description2276                              description
2313                                "short description of static route";2277                                "short description of static route";
2314                            }2278                            }
2315                          }2279                          }
2316                          description2280                          description
2317                            "description of the static route";2281                            "description of the static route";
2318                        }2282                        }
2319                        leaf track {2283                        leaf track {
2320                          type xr:Cisco-ios-xr-string {2284                          type xr:Cisco-ios-xr-string {
2321                            length "1..32" {2285                            length "1..32" {
2322                              description2286                              description
2323                                "Object to be tracked";2287                                "Object to be tracked";
2324                            }2288                            }
2325                          }2289                          }
2326                          description2290                          description
2327                            "Enable object tracking for static route";2291                            "Enable object tracking for static route";
2328                        }2292                        }
2329                        leaf metric {2293                        leaf metric {
2330                          type uint32 {2294                          type uint32 {
2331                            range "1..16777214" {2295                            range "1..16777214" {
2332                              description2296                              description
2333                                "Set metric for this route";2297                                "Set metric for this route";
2334                            }2298                            }
2335                          }2299                          }
2336                          description2300                          description
2337                            "Set metric for this route";2301                            "Set metric for this route";
2338                        }2302                        }
2339                        container prefer-rib-over-ldp {2303                        container prefer-rib-over-ldp {
2340                          presence "Indicates a prefer-rib-over-ldp node is configured.";2304                          presence "Indicates a prefer-rib-over-ldp node is configured.";
2341                          description2305                          description
2342                            "Flag passed to rib to prefer rib over ldp";2306                            "Flag passed to rib to prefer rib over ldp";
2343                        }2307                        }
2344                      }2308                      }
2345                    }2309                    }
2346                  }2310                  }
2347                }2311                }
2348              }2312              }
2349            }2313            }
2350            container topologies {2314            container topologies {
2351              description2315              description
2352                "Topology static route configuration subcommands";2316                "Topology static route configuration subcommands";
2353              list topology {2317              list topology {
2354                key "topology-name";2318                key "topology-name";
2355                description2319                description
2356                  "Topology static route configuration subcommands";2320                  "Topology static route configuration subcommands";
2357                leaf topology-name {2321                leaf topology-name {
2358                  type xr:Cisco-ios-xr-string {2322                  type xr:Cisco-ios-xr-string {
2359                    length "1..63" {2323                    length "1..63" {
2360                      description2324                      description
2361                        "Topology name";2325                        "Topology name";
2362                    }2326                    }
2363                  }2327                  }
2364                  description2328                  description
2365                    "Topology static route configuration subcommands";2329                    "Topology static route configuration subcommands";
2366                }2330                }
2367                container prefixes {2331                container prefixes {
2368                  description2332                  description
2369                    "Destination prefix";2333                    "Destination prefix";
2370                  list prefix {2334                  list prefix {
2371                    must2335                    must
2372                      "sr-policies/sr-policy or2336                      "sr-policies/sr-policy or
2373                       nexthop-interfaces/nexthop-interface or2337                       nexthop-interfaces/nexthop-interface or
2374                       nexthop-interface-addresses/nexthop-interface-address or2338                       nexthop-interface-addresses/nexthop-interface-address or
2375                       nexthop-addresses/nexthop-address or2339                       nexthop-addresses/nexthop-address or
2376                       nexthop-addresses/nexthop-address-segment-routing or2340                       nexthop-addresses/nexthop-address-segment-routing or
2377                       vrfs/vrf-only or vrfs/vrf/sr-policies/sr-policy or2341                       vrfs/vrf-only or vrfs/vrf/sr-policies/sr-policy or
2378                       vrfs/vrf/nexthop-interfaces/nexthop-interface or2342                       vrfs/vrf/nexthop-interfaces/nexthop-interface or
2379                       vrfs/vrf/nexthop-interface-addresses/nexthop-interface-address or2343                       vrfs/vrf/nexthop-interface-addresses/nexthop-interface-address or
2380                       vrfs/vrf/nexthop-addresses/nexthop-address";2344                       vrfs/vrf/nexthop-addresses/nexthop-address";
2381                    key "prefix-address prefix-length";2345                    key "prefix-address prefix-length";
2382                    description2346                    description
2383                      "Destination prefix";2347                      "Destination prefix";
2384                    leaf prefix-address {2348                    leaf prefix-address {
2385                      type inet:ipv4-address-no-zone;2349                      type inet:ipv4-address-no-zone;
2386                      description2350                      description
2387                        "Destination prefix";2351                        "Destination prefix";
2388                    }2352                    }
2389                    leaf prefix-length {2353                    leaf prefix-length {
2390                      type uint32 {2354                      type uint32 {
2391                        range "0..128";2355                        range "0..128";
2392                      }2356                      }
2393                      description2357                      description
2394                        "Destination prefix length";2358                        "Destination prefix length";
2395                    }2359                    }
2396                    container sr-policies {2360                    container sr-policies {
2397                      description2361                      description
2398                        "segment routing policy";2362                        "segment routing policy";
2399                      list sr-policy {2363                      list sr-policy {
2400                        key "sr-policy-name";2364                        key "sr-policy-name";
2401                        description2365                        description
2402                          "segment routing policy";2366                          "segment routing policy";
2403                        leaf sr-policy-name {2367                        leaf sr-policy-name {
2404                          type xr:Cisco-ios-xr-string {2368                          type xr:Cisco-ios-xr-string {
2405                            length "1..1024" {2369                            length "1..1024" {
2406                              description2370                              description
2407                                "SR policy name";2371                                "SR policy name";
2408                            }2372                            }
2409                          }2373                          }
2410                          description2374                          description
2411                            "segment routing policy";2375                            "segment routing policy";
2412                        }2376                        }
2413                        leaf distance-metric {2377                        leaf distance-metric {
2414                          type uint32 {2378                          type uint32 {
2415                            range "1..254" {2379                            range "1..254" {
2416                              description2380                              description
2417                                "Distance metric for this route";2381                                "Distance metric for this route";
2418                            }2382                            }
2419                          }2383                          }
2420                          description2384                          description
2421                            "Distance metric for this route";2385                            "Distance metric for this route";
2422                        }2386                        }
2423                        leaf tag {2387                        leaf tag {
2424                          type uint32 {2388                          type uint32 {
2425                            range "1..4294967295" {2389                            range "1..4294967295" {
2426                              description2390                              description
2427                                "Set tag for this route";2391                                "Set tag for this route";
2428                            }2392                            }
2429                          }2393                          }
2430                          description2394                          description
2431                            "Set tag for this route";2395                            "Set tag for this route";
2432                        }2396                        }
2433                        container permanent {2397                        container permanent {
2434                          presence "Indicates a permanent node is configured.";2398                          presence "Indicates a permanent node is configured.";
2435                          description2399                          description
2436                            "Permanent route";2400                            "Permanent route";
2437                        }2401                        }
2438                        leaf vrflabel {2402                        leaf vrflabel {
2439                          type uint32 {2403                          type uint32 {
2440                            range "0..4294967295" {2404                            range "0..4294967295" {
2441                              description2405                              description
2442                                "VRF label";2406                                "VRF label";
2443                            }2407                            }
2444                          }2408                          }
2445                          description2409                          description
2446                            "VRF label";2410                            "VRF label";
2447                        }2411                        }
2448                        leaf tunnel-id {2412                        leaf tunnel-id {
2449                          type uint32 {2413                          type uint32 {
2450                            range "0..4294967295" {2414                            range "0..4294967295" {
2451                              description2415                              description
2452                                "Tunnel ID";2416                                "Tunnel ID";
2453                            }2417                            }
2454                          }2418                          }
2455                          description2419                          description
2456                            "Tunnel ID";2420                            "Tunnel ID";
2457                        }2421                        }
2458                        leaf description {2422                        leaf description {
2459                          type string {2423                          type string {
2460                            length "1..30" {2424                            length "1..30" {
2461                              description2425                              description
2462                                "short description of static route";2426                                "short description of static route";
2463                            }2427                            }
2464                          }2428                          }
2465                          description2429                          description
2466                            "description of the static route";2430                            "description of the static route";
2467                        }2431                        }
2468                        leaf track {2432                        leaf track {
2469                          type xr:Cisco-ios-xr-string {2433                          type xr:Cisco-ios-xr-string {
2470                            length "1..32" {2434                            length "1..32" {
2471                              description2435                              description
2472                                "Object to be tracked";2436                                "Object to be tracked";
2473                            }2437                            }
2474                          }2438                          }
2475                          description2439                          description
2476                            "Enable object tracking for static route";2440                            "Enable object tracking for static route";
2477                        }2441                        }
2478                        leaf metric {2442                        leaf metric {
2479                          type uint32 {2443                          type uint32 {
2480                            range "1..16777214" {2444                            range "1..16777214" {
2481                              description2445                              description
2482                                "Set metric for this route";2446                                "Set metric for this route";
2483                            }2447                            }
2484                          }2448                          }
2485                          description2449                          description
2486                            "Set metric for this route";2450                            "Set metric for this route";
2487                        }2451                        }
2488                        container prefer-rib-over-ldp {2452                        container prefer-rib-over-ldp {
2489                          presence "Indicates a prefer-rib-over-ldp node is configured.";2453                          presence "Indicates a prefer-rib-over-ldp node is configured.";
2490                          description2454                          description
2491                            "Flag passed to rib to prefer rib over ldp";2455                            "Flag passed to rib to prefer rib over ldp";
2492                        }2456                        }
2493                      }2457                      }
2494                    }2458                    }
2495                    container nexthop-interfaces {2459                    container nexthop-interfaces {
2496                      description2460                      description
2497                        "Forwarding interface";2461                        "Forwarding interface";
2498                      list nexthop-interface {2462                      list nexthop-interface {
2499                        key "interface-name";2463                        key "interface-name";
2500                        description2464                        description
2501                          "Forwarding interface";2465                          "Forwarding interface";
2502                        leaf interface-name {2466                        leaf interface-name {
2503                          type xr:Interface-name;2467                          type xr:Interface-name;
2504                          description2468                          description
2505                            "Forwarding interface";2469                            "Forwarding interface";
2506                        }2470                        }
2507                        leaf distance-metric {2471                        leaf distance-metric {
2508                          type uint32 {2472                          type uint32 {
2509                            range "1..254" {2473                            range "1..254" {
2510                              description2474                              description
2511                                "Distance metric for this route";2475                                "Distance metric for this route";
2512                            }2476                            }
2513                          }2477                          }
2514                          description2478                          description
2515                            "Distance metric for this route";2479                            "Distance metric for this route";
2516                        }2480                        }
2517                        leaf tag {2481                        leaf tag {
2518                          type uint32 {2482                          type uint32 {
2519                            range "1..4294967295" {2483                            range "1..4294967295" {
2520                              description2484                              description
2521                                "Set tag for this route";2485                                "Set tag for this route";
2522                            }2486                            }
2523                          }2487                          }
2524                          description2488                          description
2525                            "Set tag for this route";2489                            "Set tag for this route";
2526                        }2490                        }
2527                        container permanent {2491                        container permanent {
2528                          presence "Indicates a permanent node is configured.";2492                          presence "Indicates a permanent node is configured.";
2529                          description2493                          description
2530                            "Permanent route";2494                            "Permanent route";
2531                        }2495                        }
2532                        leaf vrflabel {2496                        leaf vrflabel {
2533                          type uint32 {2497                          type uint32 {
2534                            range "0..4294967295" {2498                            range "0..4294967295" {
2535                              description2499                              description
2536                                "VRF label";2500                                "VRF label";
2537                            }2501                            }
2538                          }2502                          }
2539                          description2503                          description
2540                            "VRF label";2504                            "VRF label";
2541                        }2505                        }
2542                        leaf tunnel-id {2506                        leaf tunnel-id {
2543                          type uint32 {2507                          type uint32 {
2544                            range "0..4294967295" {2508                            range "0..4294967295" {
2545                              description2509                              description
2546                                "Tunnel ID";2510                                "Tunnel ID";
2547                            }2511                            }
2548                          }2512                          }
2549                          description2513                          description
2550                            "Tunnel ID";2514                            "Tunnel ID";
2551                        }2515                        }
2552                        leaf description {2516                        leaf description {
2553                          type string {2517                          type string {
2554                            length "1..30" {2518                            length "1..30" {
2555                              description2519                              description
2556                                "short description of static route";2520                                "short description of static route";
2557                            }2521                            }
2558                          }2522                          }
2559                          description2523                          description
2560                            "description of the static route";2524                            "description of the static route";
2561                        }2525                        }
2562                        leaf track {2526                        leaf track {
2563                          type xr:Cisco-ios-xr-string {2527                          type xr:Cisco-ios-xr-string {
2564                            length "1..32" {2528                            length "1..32" {
2565                              description2529                              description
2566                                "Object to be tracked";2530                                "Object to be tracked";
2567                            }2531                            }
2568                          }2532                          }
2569                          description2533                          description
2570                            "Enable object tracking for static route";2534                            "Enable object tracking for static route";
2571                        }2535                        }
2572                        leaf metric {2536                        leaf metric {
2573                          type uint32 {2537                          type uint32 {
2574                            range "1..16777214" {2538                            range "1..16777214" {
2575                              description2539                              description
2576                                "Set metric for this route";2540                                "Set metric for this route";
2577                            }2541                            }
2578                          }2542                          }
2579                          description2543                          description
2580                            "Set metric for this route";2544                            "Set metric for this route";
2581                        }2545                        }
2582                        container prefer-rib-over-ldp {2546                        container prefer-rib-over-ldp {
2583                          presence "Indicates a prefer-rib-over-ldp node is configured.";2547                          presence "Indicates a prefer-rib-over-ldp node is configured.";
2584                          description2548                          description
2585                            "Flag passed to rib to prefer rib over ldp";2549                            "Flag passed to rib to prefer rib over ldp";
2586                        }2550                        }
2587                      }2551                      }
2588                    }2552                    }
2589                    container nexthop-interface-addresses {2553                    container nexthop-interface-addresses {
2590                      description2554                      description
2591                        "Forwarding interface";2555                        "Forwarding interface";
2592                      list nexthop-interface-address {2556                      list nexthop-interface-address {
2593                        key "interface-name address";2557                        key "interface-name address";
2594                        description2558                        description
2595                          "Forwarding interface";2559                          "Forwarding interface";
2596                        leaf interface-name {2560                        leaf interface-name {
2597                          type xr:Interface-name;2561                          type xr:Interface-name;
2598                          description2562                          description
2599                            "Forwarding interface";2563                            "Forwarding interface";
2600                        }2564                        }
2601                        leaf address {2565                        leaf address {
2602                          type inet:ipv4-address-no-zone;2566                          type inet:ipv4-address-no-zone;
2603                          description2567                          description
2604                            "Forwarding router's address";2568                            "Forwarding router's address";
2605                        }2569                        }
2606                        container bfd {2570                        container bfd {
2607                          description2571                          description
2608                            "Configure BFD paramenters";2572                            "Configure BFD paramenters";
2609                          container fast-detect {2573                          container fast-detect {
2610                            presence "Indicates a fast-detect node is configured.";2574                            presence "Indicates a fast-detect node is configured.";
2611                            description2575                            description
2612                              "Enable Fast detection";2576                              "Enable Fast detection";
2613                            leaf minimum-interval {2577                            leaf minimum-interval {
2614                              type uint32 {2578                              type uint32 {
2615                                range "3..30000" {2579                                range "3..30000" {
2616                                  description2580                                  description
2617                                    "interval in milli-seconds";2581                                    "interval in milli-seconds";
2618                                }2582                                }
2619                              }2583                              }
2620                              description2584                              description
2621                                "Hello interval";2585                                "Hello interval";
2622                            }2586                            }
2623                            leaf multiplier {2587                            leaf multiplier {
2624                              type uint32 {2588                              type uint32 {
2625                                range "1..10" {2589                                range "1..10" {
2626                                  description2590                                  description
2627                                    "Detect multiplier";2591                                    "Detect multiplier";
2628                                }2592                                }
2629                              }2593                              }
2630                              description2594                              description
2631                                "Detect multiplier";2595                                "Detect multiplier";
2632                            }2596                            }
2633                          }2597                          }
2634                        }2598                        }
2635                        leaf distance-metric {2599                        leaf distance-metric {
2636                          type uint32 {2600                          type uint32 {
2637                            range "1..254" {2601                            range "1..254" {
2638                              description2602                              description
2639                                "Distance metric for this route";2603                                "Distance metric for this route";
2640                            }2604                            }
2641                          }2605                          }
2642                          description2606                          description
2643                            "Distance metric for this route";2607                            "Distance metric for this route";
2644                        }2608                        }
2645                        leaf tag {2609                        leaf tag {
2646                          type uint32 {2610                          type uint32 {
2647                            range "1..4294967295" {2611                            range "1..4294967295" {
2648                              description2612                              description
2649                                "Set tag for this route";2613                                "Set tag for this route";
2650                            }2614                            }
2651                          }2615                          }
2652                          description2616                          description
2653                            "Set tag for this route";2617                            "Set tag for this route";
2654                        }2618                        }
2655                        container permanent {2619                        container permanent {
2656                          presence "Indicates a permanent node is configured.";2620                          presence "Indicates a permanent node is configured.";
2657                          description2621                          description
2658                            "Permanent route";2622                            "Permanent route";
2659                        }2623                        }
2660                        leaf vrflabel {2624                        leaf vrflabel {
2661                          type uint32 {2625                          type uint32 {
2662                            range "0..4294967295" {2626                            range "0..4294967295" {
2663                              description2627                              description
2664                                "VRF label";2628                                "VRF label";
2665                            }2629                            }
2666                          }2630                          }
2667                          description2631                          description
2668                            "VRF label";2632                            "VRF label";
2669                        }2633                        }
2670                        leaf tunnel-id {2634                        leaf tunnel-id {
2671                          type uint32 {2635                          type uint32 {
2672                            range "0..4294967295" {2636                            range "0..4294967295" {
2673                              description2637                              description
2674                                "Tunnel ID";2638                                "Tunnel ID";
2675                            }2639                            }
2676                          }2640                          }
2677                          description2641                          description
2678                            "Tunnel ID";2642                            "Tunnel ID";
2679                        }2643                        }
2680                        leaf description {2644                        leaf description {
2681                          type string {2645                          type string {
2682                            length "1..30" {2646                            length "1..30" {
2683                              description2647                              description
2684                                "short description of static route";2648                                "short description of static route";
2685                            }2649                            }
2686                          }2650                          }
2687                          description2651                          description
2688                            "description of the static route";2652                            "description of the static route";
2689                        }2653                        }
2690                        leaf track {2654                        leaf track {
2691                          type xr:Cisco-ios-xr-string {2655                          type xr:Cisco-ios-xr-string {
2692                            length "1..32" {2656                            length "1..32" {
2693                              description2657                              description
2694                                "Object to be tracked";2658                                "Object to be tracked";
2695                            }2659                            }
2696                          }2660                          }
2697                          description2661                          description
2698                            "Enable object tracking for static route";2662                            "Enable object tracking for static route";
2699                        }2663                        }
2700                        leaf metric {2664                        leaf metric {
2701                          type uint32 {2665                          type uint32 {
2702                            range "1..16777214" {2666                            range "1..16777214" {
2703                              description2667                              description
2704                                "Set metric for this route";2668                                "Set metric for this route";
2705                            }2669                            }
2706                          }2670                          }
2707                          description2671                          description
2708                            "Set metric for this route";2672                            "Set metric for this route";
2709                        }2673                        }
2710                        container prefer-rib-over-ldp {2674                        container prefer-rib-over-ldp {
2711                          presence "Indicates a prefer-rib-over-ldp node is configured.";2675                          presence "Indicates a prefer-rib-over-ldp node is configured.";
2712                          description2676                          description
2713                            "Flag passed to rib to prefer rib over ldp";2677                            "Flag passed to rib to prefer rib over ldp";
2714                        }2678                        }
2715                      }2679                      }
2716                    }2680                    }
2717                    container nexthop-addresses {2681                    container nexthop-addresses {
2718                      description2682                      description
2719                        "Forwarding router's address";2683                        "Forwarding router's address";
2720                      list nexthop-address {2684                      list nexthop-address {
2721                        key "address";2685                        key "address";
2722                        description2686                        description
2723                          "Forwarding router's address";2687                          "Forwarding router's address";
2724                        leaf address {2688                        leaf address {
2725                          type inet:ipv4-address-no-zone;2689                          type inet:ipv4-address-no-zone;
2726                          description2690                          description
2727                            "Forwarding router's address";2691                            "Forwarding router's address";
2728                        }2692                        }
2729                        container bfd {2693                        container bfd {
2730                          description2694                          description
2731                            "Configure BFD paramenters";2695                            "Configure BFD paramenters";
2732                          container fast-detect {2696                          container fast-detect {
2733                            presence "Indicates a fast-detect node is configured.";2697                            presence "Indicates a fast-detect node is configured.";
2734                            description2698                            description
2735                              "Enable Fast detection";2699                              "Enable Fast detection";
2736                            leaf minimum-interval {2700                            leaf minimum-interval {
2737                              type uint32 {2701                              type uint32 {
2738                                range "3..30000" {2702                                range "3..30000" {
2739                                  description2703                                  description
2740                                    "interval in milli-seconds";2704                                    "interval in milli-seconds";
2741                                }2705                                }
2742                              }2706                              }
2743                              description2707                              description
2744                                "Hello interval";2708                                "Hello interval";
2745                            }2709                            }
2746                            leaf multiplier {2710                            leaf multiplier {
2747                              type uint32 {2711                              type uint32 {
2748                                range "1..10" {2712                                range "1..10" {
2749                                  description2713                                  description
2750                                    "Detect multiplier";2714                                    "Detect multiplier";
2751                                }2715                                }
2752                              }2716                              }
2753                              description2717                              description
2754                                "Detect multiplier";2718                                "Detect multiplier";
2755                            }2719                            }
2756                            container multihop {2720                            container multihop {
2757                              presence "Indicates a multihop node is configured.";2721                              presence "Indicates a multihop node is configured.";
2758                              description2722                              description
2759                                "Enable BFD Multihop";2723                                "Enable BFD Multihop";
2760                              leaf address {2724                              leaf address {
2761                                type inet:ipv4-address-no-zone;2725                                type inet:ipv4-address-no-zone;
2762                                mandatory true;2726                                mandatory true;
2763                                description2727                                description
2764                                  "Source address";2728                                  "Source address";
2765                              }2729                              }
2766                            }2730                            }
2767                          }2731                          }
2768                        }2732                        }
2769                        leaf distance-metric {2733                        leaf distance-metric {
2770                          type uint32 {2734                          type uint32 {
2771                            range "1..254" {2735                            range "1..254" {
2772                              description2736                              description
2773                                "Distance metric for this route";2737                                "Distance metric for this route";
2774                            }2738                            }
2775                          }2739                          }
2776                          description2740                          description
2777                            "Distance metric for this route";2741                            "Distance metric for this route";
2778                        }2742                        }
2779                        leaf tag {2743                        leaf tag {
2780                          type uint32 {2744                          type uint32 {
2781                            range "1..4294967295" {2745                            range "1..4294967295" {
2782                              description2746                              description
2783                                "Set tag for this route";2747                                "Set tag for this route";
2784                            }2748                            }
2785                          }2749                          }
2786                          description2750                          description
2787                            "Set tag for this route";2751                            "Set tag for this route";
2788                        }2752                        }
2789                        container permanent {2753                        container permanent {
2790                          presence "Indicates a permanent node is configured.";2754                          presence "Indicates a permanent node is configured.";
2791                          description2755                          description
2792                            "Permanent route";2756                            "Permanent route";
2793                        }2757                        }
2794                        leaf vrflabel {2758                        leaf vrflabel {
2795                          type uint32 {2759                          type uint32 {
2796                            range "0..4294967295" {2760                            range "0..4294967295" {
2797                              description2761                              description
2798                                "VRF label";2762                                "VRF label";
2799                            }2763                            }
2800                          }2764                          }
2801                          description2765                          description
2802                            "VRF label";2766                            "VRF label";
2803                        }2767                        }
2804                        leaf tunnel-id {2768                        leaf tunnel-id {
2805                          type uint32 {2769                          type uint32 {
2806                            range "0..4294967295" {2770                            range "0..4294967295" {
2807                              description2771                              description
2808                                "Tunnel ID";2772                                "Tunnel ID";
2809                            }2773                            }
2810                          }2774                          }
2811                          description2775                          description
2812                            "Tunnel ID";2776                            "Tunnel ID";
2813                        }2777                        }
2814                        leaf description {2778                        leaf description {
2815                          type string {2779                          type string {
2816                            length "1..30" {2780                            length "1..30" {
2817                              description2781                              description
2818                                "short description of static route";2782                                "short description of static route";
2819                            }2783                            }
2820                          }2784                          }
2821                          description2785                          description
2822                            "description of the static route";2786                            "description of the static route";
2823                        }2787                        }
2824                        leaf track {2788                        leaf track {
2825                          type xr:Cisco-ios-xr-string {2789                          type xr:Cisco-ios-xr-string {
2826                            length "1..32" {2790                            length "1..32" {
2827                              description2791                              description
2828                                "Object to be tracked";2792                                "Object to be tracked";
2829                            }2793                            }
2830                          }2794                          }
2831                          description2795                          description
2832                            "Enable object tracking for static route";2796                            "Enable object tracking for static route";
2833                        }2797                        }
2834                        leaf metric {2798                        leaf metric {
2835                          type uint32 {2799                          type uint32 {
2836                            range "1..16777214" {2800                            range "1..16777214" {
2837                              description2801                              description
2838                                "Set metric for this route";2802                                "Set metric for this route";
2839                            }2803                            }
2840                          }2804                          }
2841                          description2805                          description
2842                            "Set metric for this route";2806                            "Set metric for this route";
2843                        }2807                        }
2844                        container prefer-rib-over-ldp {2808                        container prefer-rib-over-ldp {
2845                          presence "Indicates a prefer-rib-over-ldp node is configured.";2809                          presence "Indicates a prefer-rib-over-ldp node is configured.";
2846                          description2810                          description
2847                            "Flag passed to rib to prefer rib over ldp";2811                            "Flag passed to rib to prefer rib over ldp";
2848                        }2812                        }
2849                      }2813                      }
2850                      list nexthop-address-segment-routing {2814                      list nexthop-address-segment-routing {
2851                        key "address mpls-path-name";2815                        key "address mpls-path-name";
2852                        description2816                        description
2853                          "Forwarding router's address";2817                          "Forwarding router's address";
2854                        leaf address {2818                        leaf address {
2855                          type inet:ipv4-address-no-zone;2819                          type inet:ipv4-address-no-zone;
2856                          description2820                          description
2857                            "Forwarding router's address";2821                            "Forwarding router's address";
2858                        }2822                        }
2859                        leaf mpls-path-name {2823                        leaf mpls-path-name {
2860                          type xr:Cisco-ios-xr-string {2824                          type xr:Cisco-ios-xr-string {
2861                            length "1..1024" {2825                            length "1..1024" {
2862                              description2826                              description
2863                                "Path name";2827                                "Path name";
2864                            }2828                            }
2865                          }2829                          }
2866                          description2830                          description
2867                            "Configure path name";2831                            "Configure path name";
2868                        }2832                        }
2869                        leaf distance-metric {2833                        leaf distance-metric {
2870                          type uint32 {2834                          type uint32 {
2871                            range "1..254" {2835                            range "1..254" {
2872                              description2836                              description
2873                                "Distance metric for this route";2837                                "Distance metric for this route";
2874                            }2838                            }
2875                          }2839                          }
2876                          description2840                          description
2877                            "Distance metric for this route";2841                            "Distance metric for this route";
2878                        }2842                        }
2879                        leaf tag {2843                        leaf tag {
2880                          type uint32 {2844                          type uint32 {
2881                            range "1..4294967295" {2845                            range "1..4294967295" {
2882                              description2846                              description
2883                                "Set tag for this route";2847                                "Set tag for this route";
2884                            }2848                            }
2885                          }2849                          }
2886                          description2850                          description
2887                            "Set tag for this route";2851                            "Set tag for this route";
2888                        }2852                        }
2889                        leaf description {2853                        leaf description {
2890                          type string {2854                          type string {
2891                            length "1..30" {2855                            length "1..30" {
2892                              description2856                              description
2893                                "short description of static route";2857                                "short description of static route";
2894                            }2858                            }
2895                          }2859                          }
2896                          description2860                          description
2897                            "description of the static route";2861                            "description of the static route";
2898                        }2862                        }
2899                        leaf metric {2863                        leaf metric {
2900                          type uint32 {2864                          type uint32 {
2901                            range "1..16777214" {2865                            range "1..16777214" {
2902                              description2866                              description
2903                                "Set metric for this route";2867                                "Set metric for this route";
2904                            }2868                            }
2905                          }2869                          }
2906                          description2870                          description
2907                            "Set metric for this route";2871                            "Set metric for this route";
2908                        }2872                        }
2909                      }2873                      }
2910                    }2874                    }
2911                    container vrfs {2875                    container vrfs {
2912                      description2876                      description
2913                        "Destination VRF";2877                        "Destination VRF";
2914                      list vrf-only {2878                      list vrf-only {
2915                        key "vrf-name";2879                        key "vrf-name";
2916                        description2880                        description
2917                          "Destination only VRF";2881                          "Destination only VRF";
2918                        leaf vrf-name {2882                        leaf vrf-name {
2919                          type xr:Cisco-ios-xr-string {2883                          type xr:Cisco-ios-xr-string {
2920                            length "1..32" {2884                            length "1..32" {
2921                              description2885                              description
2922                                "VRF name";2886                                "VRF name";
2923                            }2887                            }
2924                          }2888                          }
2925                          description2889                          description
2926                            "Destination VRF";2890                            "Destination VRF";
2927                        }2891                        }
n2928                        leaf description {n
2929                          type string {
2930                            length "1..254" {
2931                              description
2932                                "short description of static route";
2933                            }
2934                          }
2935                          description
2936                            "description of the static route";
2937                        }
2938                      }2892                      }
2939                      list vrf {2893                      list vrf {
2940                        must2894                        must
2941                          "sr-policies/sr-policy or2895                          "sr-policies/sr-policy or
2942                           nexthop-interfaces/nexthop-interface or2896                           nexthop-interfaces/nexthop-interface or
2943                           nexthop-interface-addresses/nexthop-interface-address or2897                           nexthop-interface-addresses/nexthop-interface-address or
2944                           nexthop-addresses/nexthop-address";2898                           nexthop-addresses/nexthop-address";
2945                        key "vrf-name";2899                        key "vrf-name";
2946                        description2900                        description
2947                          "Destination VRF";2901                          "Destination VRF";
2948                        leaf vrf-name {2902                        leaf vrf-name {
2949                          type xr:Cisco-ios-xr-string {2903                          type xr:Cisco-ios-xr-string {
2950                            length "1..32" {2904                            length "1..32" {
2951                              description2905                              description
2952                                "VRF name";2906                                "VRF name";
2953                            }2907                            }
2954                          }2908                          }
2955                          description2909                          description
2956                            "Destination VRF";2910                            "Destination VRF";
2957                        }2911                        }
2958                        container sr-policies {2912                        container sr-policies {
2959                          description2913                          description
2960                            "segment routing policy";2914                            "segment routing policy";
2961                          list sr-policy {2915                          list sr-policy {
2962                            key "sr-policy-name";2916                            key "sr-policy-name";
2963                            description2917                            description
2964                              "segment routing policy";2918                              "segment routing policy";
2965                            leaf sr-policy-name {2919                            leaf sr-policy-name {
2966                              type xr:Cisco-ios-xr-string {2920                              type xr:Cisco-ios-xr-string {
2967                                length "1..1024" {2921                                length "1..1024" {
2968                                  description2922                                  description
2969                                    "SR policy name";2923                                    "SR policy name";
2970                                }2924                                }
2971                              }2925                              }
2972                              description2926                              description
2973                                "segment routing policy";2927                                "segment routing policy";
2974                            }2928                            }
2975                            leaf distance-metric {2929                            leaf distance-metric {
2976                              type uint32 {2930                              type uint32 {
2977                                range "1..254" {2931                                range "1..254" {
2978                                  description2932                                  description
2979                                    "Distance metric for this route";2933                                    "Distance metric for this route";
2980                                }2934                                }
2981                              }2935                              }
2982                              description2936                              description
2983                                "Distance metric for this route";2937                                "Distance metric for this route";
2984                            }2938                            }
2985                            leaf tag {2939                            leaf tag {
2986                              type uint32 {2940                              type uint32 {
2987                                range "1..4294967295" {2941                                range "1..4294967295" {
2988                                  description2942                                  description
2989                                    "Set tag for this route";2943                                    "Set tag for this route";
2990                                }2944                                }
2991                              }2945                              }
2992                              description2946                              description
2993                                "Set tag for this route";2947                                "Set tag for this route";
2994                            }2948                            }
2995                            container permanent {2949                            container permanent {
2996                              presence "Indicates a permanent node is configured.";2950                              presence "Indicates a permanent node is configured.";
2997                              description2951                              description
2998                                "Permanent route";2952                                "Permanent route";
2999                            }2953                            }
3000                            leaf vrflabel {2954                            leaf vrflabel {
3001                              type uint32 {2955                              type uint32 {
3002                                range "0..4294967295" {2956                                range "0..4294967295" {
3003                                  description2957                                  description
3004                                    "VRF label";2958                                    "VRF label";
3005                                }2959                                }
3006                              }2960                              }
3007                              description2961                              description
3008                                "VRF label";2962                                "VRF label";
3009                            }2963                            }
3010                            leaf tunnel-id {2964                            leaf tunnel-id {
3011                              type uint32 {2965                              type uint32 {
3012                                range "0..4294967295" {2966                                range "0..4294967295" {
3013                                  description2967                                  description
3014                                    "Tunnel ID";2968                                    "Tunnel ID";
3015                                }2969                                }
3016                              }2970                              }
3017                              description2971                              description
3018                                "Tunnel ID";2972                                "Tunnel ID";
3019                            }2973                            }
3020                            leaf description {2974                            leaf description {
3021                              type string {2975                              type string {
3022                                length "1..30" {2976                                length "1..30" {
3023                                  description2977                                  description
3024                                    "short description of static route";2978                                    "short description of static route";
3025                                }2979                                }
3026                              }2980                              }
3027                              description2981                              description
3028                                "description of the static route";2982                                "description of the static route";
3029                            }2983                            }
3030                            leaf track {2984                            leaf track {
3031                              type xr:Cisco-ios-xr-string {2985                              type xr:Cisco-ios-xr-string {
3032                                length "1..32" {2986                                length "1..32" {
3033                                  description2987                                  description
3034                                    "Object to be tracked";2988                                    "Object to be tracked";
3035                                }2989                                }
3036                              }2990                              }
3037                              description2991                              description
3038                                "Enable object tracking for static route";2992                                "Enable object tracking for static route";
3039                            }2993                            }
3040                            leaf metric {2994                            leaf metric {
3041                              type uint32 {2995                              type uint32 {
3042                                range "1..16777214" {2996                                range "1..16777214" {
3043                                  description2997                                  description
3044                                    "Set metric for this route";2998                                    "Set metric for this route";
3045                                }2999                                }
3046                              }3000                              }
3047                              description3001                              description
3048                                "Set metric for this route";3002                                "Set metric for this route";
3049                            }3003                            }
3050                            container prefer-rib-over-ldp {3004                            container prefer-rib-over-ldp {
3051                              presence "Indicates a prefer-rib-over-ldp node is configured.";3005                              presence "Indicates a prefer-rib-over-ldp node is configured.";
3052                              description3006                              description
3053                                "Flag passed to rib to prefer rib over ldp";3007                                "Flag passed to rib to prefer rib over ldp";
3054                            }3008                            }
3055                          }3009                          }
3056                        }3010                        }
3057                        container nexthop-interfaces {3011                        container nexthop-interfaces {
3058                          description3012                          description
3059                            "Forwarding interface";3013                            "Forwarding interface";
3060                          list nexthop-interface {3014                          list nexthop-interface {
3061                            key "interface-name";3015                            key "interface-name";
3062                            description3016                            description
3063                              "Forwarding interface";3017                              "Forwarding interface";
3064                            leaf interface-name {3018                            leaf interface-name {
3065                              type xr:Interface-name;3019                              type xr:Interface-name;
3066                              description3020                              description
3067                                "Forwarding interface";3021                                "Forwarding interface";
3068                            }3022                            }
3069                            leaf distance-metric {3023                            leaf distance-metric {
3070                              type uint32 {3024                              type uint32 {
3071                                range "1..254" {3025                                range "1..254" {
3072                                  description3026                                  description
3073                                    "Distance metric for this route";3027                                    "Distance metric for this route";
3074                                }3028                                }
3075                              }3029                              }
3076                              description3030                              description
3077                                "Distance metric for this route";3031                                "Distance metric for this route";
3078                            }3032                            }
3079                            leaf tag {3033                            leaf tag {
3080                              type uint32 {3034                              type uint32 {
3081                                range "1..4294967295" {3035                                range "1..4294967295" {
3082                                  description3036                                  description
3083                                    "Set tag for this route";3037                                    "Set tag for this route";
3084                                }3038                                }
3085                              }3039                              }
3086                              description3040                              description
3087                                "Set tag for this route";3041                                "Set tag for this route";
3088                            }3042                            }
3089                            container permanent {3043                            container permanent {
3090                              presence "Indicates a permanent node is configured.";3044                              presence "Indicates a permanent node is configured.";
3091                              description3045                              description
3092                                "Permanent route";3046                                "Permanent route";
3093                            }3047                            }
3094                            leaf vrflabel {3048                            leaf vrflabel {
3095                              type uint32 {3049                              type uint32 {
3096                                range "0..4294967295" {3050                                range "0..4294967295" {
3097                                  description3051                                  description
3098                                    "VRF label";3052                                    "VRF label";
3099                                }3053                                }
3100                              }3054                              }
3101                              description3055                              description
3102                                "VRF label";3056                                "VRF label";
3103                            }3057                            }
3104                            leaf tunnel-id {3058                            leaf tunnel-id {
3105                              type uint32 {3059                              type uint32 {
3106                                range "0..4294967295" {3060                                range "0..4294967295" {
3107                                  description3061                                  description
3108                                    "Tunnel ID";3062                                    "Tunnel ID";
3109                                }3063                                }
3110                              }3064                              }
3111                              description3065                              description
3112                                "Tunnel ID";3066                                "Tunnel ID";
3113                            }3067                            }
3114                            leaf description {3068                            leaf description {
3115                              type string {3069                              type string {
3116                                length "1..30" {3070                                length "1..30" {
3117                                  description3071                                  description
3118                                    "short description of static route";3072                                    "short description of static route";
3119                                }3073                                }
3120                              }3074                              }
3121                              description3075                              description
3122                                "description of the static route";3076                                "description of the static route";
3123                            }3077                            }
3124                            leaf track {3078                            leaf track {
3125                              type xr:Cisco-ios-xr-string {3079                              type xr:Cisco-ios-xr-string {
3126                                length "1..32" {3080                                length "1..32" {
3127                                  description3081                                  description
3128                                    "Object to be tracked";3082                                    "Object to be tracked";
3129                                }3083                                }
3130                              }3084                              }
3131                              description3085                              description
3132                                "Enable object tracking for static route";3086                                "Enable object tracking for static route";
3133                            }3087                            }
3134                            leaf metric {3088                            leaf metric {
3135                              type uint32 {3089                              type uint32 {
3136                                range "1..16777214" {3090                                range "1..16777214" {
3137                                  description3091                                  description
3138                                    "Set metric for this route";3092                                    "Set metric for this route";
3139                                }3093                                }
3140                              }3094                              }
3141                              description3095                              description
3142                                "Set metric for this route";3096                                "Set metric for this route";
3143                            }3097                            }
3144                            container prefer-rib-over-ldp {3098                            container prefer-rib-over-ldp {
3145                              presence "Indicates a prefer-rib-over-ldp node is configured.";3099                              presence "Indicates a prefer-rib-over-ldp node is configured.";
3146                              description3100                              description
3147                                "Flag passed to rib to prefer rib over ldp";3101                                "Flag passed to rib to prefer rib over ldp";
3148                            }3102                            }
3149                          }3103                          }
3150                        }3104                        }
3151                        container nexthop-interface-addresses {3105                        container nexthop-interface-addresses {
3152                          description3106                          description
3153                            "Forwarding interface";3107                            "Forwarding interface";
3154                          list nexthop-interface-address {3108                          list nexthop-interface-address {
3155                            key "interface-name address";3109                            key "interface-name address";
3156                            description3110                            description
3157                              "Forwarding interface";3111                              "Forwarding interface";
3158                            leaf interface-name {3112                            leaf interface-name {
3159                              type xr:Interface-name;3113                              type xr:Interface-name;
3160                              description3114                              description
3161                                "Forwarding interface";3115                                "Forwarding interface";
3162                            }3116                            }
3163                            leaf address {3117                            leaf address {
3164                              type inet:ipv4-address-no-zone;3118                              type inet:ipv4-address-no-zone;
3165                              description3119                              description
3166                                "Forwarding router's address";3120                                "Forwarding router's address";
3167                            }3121                            }
3168                            container bfd {3122                            container bfd {
3169                              description3123                              description
3170                                "Configure BFD paramenters";3124                                "Configure BFD paramenters";
3171                              container fast-detect {3125                              container fast-detect {
3172                                presence "Indicates a fast-detect node is configured.";3126                                presence "Indicates a fast-detect node is configured.";
3173                                description3127                                description
3174                                  "Enable Fast detection";3128                                  "Enable Fast detection";
3175                                leaf minimum-interval {3129                                leaf minimum-interval {
3176                                  type uint32 {3130                                  type uint32 {
3177                                    range "3..30000" {3131                                    range "3..30000" {
3178                                      description3132                                      description
3179                                        "interval in milli-seconds";3133                                        "interval in milli-seconds";
3180                                    }3134                                    }
3181                                  }3135                                  }
3182                                  description3136                                  description
3183                                    "Hello interval";3137                                    "Hello interval";
3184                                }3138                                }
3185                                leaf multiplier {3139                                leaf multiplier {
3186                                  type uint32 {3140                                  type uint32 {
3187                                    range "1..10" {3141                                    range "1..10" {
3188                                      description3142                                      description
3189                                        "Detect multiplier";3143                                        "Detect multiplier";
3190                                    }3144                                    }
3191                                  }3145                                  }
3192                                  description3146                                  description
3193                                    "Detect multiplier";3147                                    "Detect multiplier";
3194                                }3148                                }
3195                              }3149                              }
3196                            }3150                            }
3197                            leaf distance-metric {3151                            leaf distance-metric {
3198                              type uint32 {3152                              type uint32 {
3199                                range "1..254" {3153                                range "1..254" {
3200                                  description3154                                  description
3201                                    "Distance metric for this route";3155                                    "Distance metric for this route";
3202                                }3156                                }
3203                              }3157                              }
3204                              description3158                              description
3205                                "Distance metric for this route";3159                                "Distance metric for this route";
3206                            }3160                            }
3207                            leaf tag {3161                            leaf tag {
3208                              type uint32 {3162                              type uint32 {
3209                                range "1..4294967295" {3163                                range "1..4294967295" {
3210                                  description3164                                  description
3211                                    "Set tag for this route";3165                                    "Set tag for this route";
3212                                }3166                                }
3213                              }3167                              }
3214                              description3168                              description
3215                                "Set tag for this route";3169                                "Set tag for this route";
3216                            }3170                            }
3217                            container permanent {3171                            container permanent {
3218                              presence "Indicates a permanent node is configured.";3172                              presence "Indicates a permanent node is configured.";
3219                              description3173                              description
3220                                "Permanent route";3174                                "Permanent route";
3221                            }3175                            }
3222                            leaf vrflabel {3176                            leaf vrflabel {
3223                              type uint32 {3177                              type uint32 {
3224                                range "0..4294967295" {3178                                range "0..4294967295" {
3225                                  description3179                                  description
3226                                    "VRF label";3180                                    "VRF label";
3227                                }3181                                }
3228                              }3182                              }
3229                              description3183                              description
3230                                "VRF label";3184                                "VRF label";
3231                            }3185                            }
3232                            leaf tunnel-id {3186                            leaf tunnel-id {
3233                              type uint32 {3187                              type uint32 {
3234                                range "0..4294967295" {3188                                range "0..4294967295" {
3235                                  description3189                                  description
3236                                    "Tunnel ID";3190                                    "Tunnel ID";
3237                                }3191                                }
3238                              }3192                              }
3239                              description3193                              description
3240                                "Tunnel ID";3194                                "Tunnel ID";
3241                            }3195                            }
3242                            leaf description {3196                            leaf description {
3243                              type string {3197                              type string {
3244                                length "1..30" {3198                                length "1..30" {
3245                                  description3199                                  description
3246                                    "short description of static route";3200                                    "short description of static route";
3247                                }3201                                }
3248                              }3202                              }
3249                              description3203                              description
3250                                "description of the static route";3204                                "description of the static route";
3251                            }3205                            }
3252                            leaf track {3206                            leaf track {
3253                              type xr:Cisco-ios-xr-string {3207                              type xr:Cisco-ios-xr-string {
3254                                length "1..32" {3208                                length "1..32" {
3255                                  description3209                                  description
3256                                    "Object to be tracked";3210                                    "Object to be tracked";
3257                                }3211                                }
3258                              }3212                              }
3259                              description3213                              description
3260                                "Enable object tracking for static route";3214                                "Enable object tracking for static route";
3261                            }3215                            }
3262                            leaf metric {3216                            leaf metric {
3263                              type uint32 {3217                              type uint32 {
3264                                range "1..16777214" {3218                                range "1..16777214" {
3265                                  description3219                                  description
3266                                    "Set metric for this route";3220                                    "Set metric for this route";
3267                                }3221                                }
3268                              }3222                              }
3269                              description3223                              description
3270                                "Set metric for this route";3224                                "Set metric for this route";
3271                            }3225                            }
3272                            container prefer-rib-over-ldp {3226                            container prefer-rib-over-ldp {
3273                              presence "Indicates a prefer-rib-over-ldp node is configured.";3227                              presence "Indicates a prefer-rib-over-ldp node is configured.";
3274                              description3228                              description
3275                                "Flag passed to rib to prefer rib over ldp";3229                                "Flag passed to rib to prefer rib over ldp";
3276                            }3230                            }
3277                          }3231                          }
3278                        }3232                        }
3279                        container nexthop-addresses {3233                        container nexthop-addresses {
3280                          description3234                          description
3281                            "Forwarding router's address";3235                            "Forwarding router's address";
3282                          list nexthop-address {3236                          list nexthop-address {
3283                            key "address";3237                            key "address";
3284                            description3238                            description
3285                              "Forwarding router's address";3239                              "Forwarding router's address";
3286                            leaf address {3240                            leaf address {
3287                              type inet:ipv4-address-no-zone;3241                              type inet:ipv4-address-no-zone;
3288                              description3242                              description
3289                                "Forwarding router's address";3243                                "Forwarding router's address";
3290                            }3244                            }
3291                            container bfd {3245                            container bfd {
3292                              description3246                              description
3293                                "Configure BFD paramenters";3247                                "Configure BFD paramenters";
3294                              container fast-detect {3248                              container fast-detect {
3295                                presence "Indicates a fast-detect node is configured.";3249                                presence "Indicates a fast-detect node is configured.";
3296                                description3250                                description
3297                                  "Enable Fast detection";3251                                  "Enable Fast detection";
3298                                leaf minimum-interval {3252                                leaf minimum-interval {
3299                                  type uint32 {3253                                  type uint32 {
3300                                    range "3..30000" {3254                                    range "3..30000" {
3301                                      description3255                                      description
3302                                        "interval in milli-seconds";3256                                        "interval in milli-seconds";
3303                                    }3257                                    }
3304                                  }3258                                  }
3305                                  description3259                                  description
3306                                    "Hello interval";3260                                    "Hello interval";
3307                                }3261                                }
3308                                leaf multiplier {3262                                leaf multiplier {
3309                                  type uint32 {3263                                  type uint32 {
3310                                    range "1..10" {3264                                    range "1..10" {
3311                                      description3265                                      description
3312                                        "Detect multiplier";3266                                        "Detect multiplier";
3313                                    }3267                                    }
3314                                  }3268                                  }
3315                                  description3269                                  description
3316                                    "Detect multiplier";3270                                    "Detect multiplier";
3317                                }3271                                }
3318                                container multihop {3272                                container multihop {
3319                                  presence "Indicates a multihop node is configured.";3273                                  presence "Indicates a multihop node is configured.";
3320                                  description3274                                  description
3321                                    "Enable BFD Multihop";3275                                    "Enable BFD Multihop";
3322                                  leaf address {3276                                  leaf address {
3323                                    type inet:ipv4-address-no-zone;3277                                    type inet:ipv4-address-no-zone;
3324                                    mandatory true;3278                                    mandatory true;
3325                                    description3279                                    description
3326                                      "Source address";3280                                      "Source address";
3327                                  }3281                                  }
3328                                }3282                                }
3329                              }3283                              }
3330                            }3284                            }
3331                            leaf distance-metric {3285                            leaf distance-metric {
3332                              type uint32 {3286                              type uint32 {
3333                                range "1..254" {3287                                range "1..254" {
3334                                  description3288                                  description
3335                                    "Distance metric for this route";3289                                    "Distance metric for this route";
3336                                }3290                                }
3337                              }3291                              }
3338                              description3292                              description
3339                                "Distance metric for this route";3293                                "Distance metric for this route";
3340                            }3294                            }
3341                            leaf tag {3295                            leaf tag {
3342                              type uint32 {3296                              type uint32 {
3343                                range "1..4294967295" {3297                                range "1..4294967295" {
3344                                  description3298                                  description
3345                                    "Set tag for this route";3299                                    "Set tag for this route";
3346                                }3300                                }
3347                              }3301                              }
3348                              description3302                              description
3349                                "Set tag for this route";3303                                "Set tag for this route";
3350                            }3304                            }
3351                            container permanent {3305                            container permanent {
3352                              presence "Indicates a permanent node is configured.";3306                              presence "Indicates a permanent node is configured.";
3353                              description3307                              description
3354                                "Permanent route";3308                                "Permanent route";
3355                            }3309                            }
3356                            leaf vrflabel {3310                            leaf vrflabel {
3357                              type uint32 {3311                              type uint32 {
3358                                range "0..4294967295" {3312                                range "0..4294967295" {
3359                                  description3313                                  description
3360                                    "VRF label";3314                                    "VRF label";
3361                                }3315                                }
3362                              }3316                              }
3363                              description3317                              description
3364                                "VRF label";3318                                "VRF label";
3365                            }3319                            }
3366                            leaf tunnel-id {3320                            leaf tunnel-id {
3367                              type uint32 {3321                              type uint32 {
3368                                range "0..4294967295" {3322                                range "0..4294967295" {
3369                                  description3323                                  description
3370                                    "Tunnel ID";3324                                    "Tunnel ID";
3371                                }3325                                }
3372                              }3326                              }
3373                              description3327                              description
3374                                "Tunnel ID";3328                                "Tunnel ID";
3375                            }3329                            }
3376                            leaf description {3330                            leaf description {
3377                              type string {3331                              type string {
3378                                length "1..30" {3332                                length "1..30" {
3379                                  description3333                                  description
3380                                    "short description of static route";3334                                    "short description of static route";
3381                                }3335                                }
3382                              }3336                              }
3383                              description3337                              description
3384                                "description of the static route";3338                                "description of the static route";
3385                            }3339                            }
3386                            leaf track {3340                            leaf track {
3387                              type xr:Cisco-ios-xr-string {3341                              type xr:Cisco-ios-xr-string {
3388                                length "1..32" {3342                                length "1..32" {
3389                                  description3343                                  description
3390                                    "Object to be tracked";3344                                    "Object to be tracked";
3391                                }3345                                }
3392                              }3346                              }
3393                              description3347                              description
3394                                "Enable object tracking for static route";3348                                "Enable object tracking for static route";
3395                            }3349                            }
3396                            leaf metric {3350                            leaf metric {
3397                              type uint32 {3351                              type uint32 {
3398                                range "1..16777214" {3352                                range "1..16777214" {
3399                                  description3353                                  description
3400                                    "Set metric for this route";3354                                    "Set metric for this route";
3401                                }3355                                }
3402                              }3356                              }
3403                              description3357                              description
3404                                "Set metric for this route";3358                                "Set metric for this route";
3405                            }3359                            }
3406                            container prefer-rib-over-ldp {3360                            container prefer-rib-over-ldp {
3407                              presence "Indicates a prefer-rib-over-ldp node is configured.";3361                              presence "Indicates a prefer-rib-over-ldp node is configured.";
3408                              description3362                              description
3409                                "Flag passed to rib to prefer rib over ldp";3363                                "Flag passed to rib to prefer rib over ldp";
3410                            }3364                            }
3411                          }3365                          }
3412                        }3366                        }
3413                      }3367                      }
3414                    }3368                    }
3415                  }3369                  }
3416                }3370                }
3417              }3371              }
3418            }3372            }
3419          }3373          }
3420        }3374        }
3421        container ipv6 {3375        container ipv6 {
3422          description3376          description
3423            "IPv6 commands";3377            "IPv6 commands";
3424          container unicast {3378          container unicast {
3425            description3379            description
3426              "Unicast commands";3380              "Unicast commands";
3427            container prefixes {3381            container prefixes {
3428              description3382              description
3429                "Destination prefix";3383                "Destination prefix";
3430              list prefix {3384              list prefix {
3431                must3385                must
3432                  "segment-routing/mpls/path/names/name or3386                  "segment-routing/mpls/path/names/name or
n3433                   segment-routing/srv6/endpoint/behavior/vrf orn
3434                   sr-policies/sr-policy or3387                   sr-policies/sr-policy or
3435                   nexthop-interfaces/nexthop-interface or3388                   nexthop-interfaces/nexthop-interface or
3436                   nexthop-interface-addresses/nexthop-interface-address or3389                   nexthop-interface-addresses/nexthop-interface-address or
3437                   nexthop-addresses/nexthop-address or3390                   nexthop-addresses/nexthop-address or
3438                   nexthop-addresses/nexthop-address-segment-routing or3391                   nexthop-addresses/nexthop-address-segment-routing or
3439                   vrfs/vrf-only or vrfs/vrf/sr-policies/sr-policy or3392                   vrfs/vrf-only or vrfs/vrf/sr-policies/sr-policy or
3440                   vrfs/vrf/nexthop-interfaces/nexthop-interface or3393                   vrfs/vrf/nexthop-interfaces/nexthop-interface or
3441                   vrfs/vrf/nexthop-interface-addresses/nexthop-interface-address or3394                   vrfs/vrf/nexthop-interface-addresses/nexthop-interface-address or
3442                   vrfs/vrf/nexthop-addresses/nexthop-address";3395                   vrfs/vrf/nexthop-addresses/nexthop-address";
3443                key "prefix-address prefix-length";3396                key "prefix-address prefix-length";
3444                description3397                description
3445                  "Destination prefix";3398                  "Destination prefix";
3446                leaf prefix-address {3399                leaf prefix-address {
3447                  type inet:ipv6-address-no-zone;3400                  type inet:ipv6-address-no-zone;
3448                  description3401                  description
3449                    "Destination prefix";3402                    "Destination prefix";
3450                }3403                }
3451                leaf prefix-length {3404                leaf prefix-length {
3452                  type uint32 {3405                  type uint32 {
3453                    range "0..128";3406                    range "0..128";
3454                  }3407                  }
3455                  description3408                  description
3456                    "Destination prefix length";3409                    "Destination prefix length";
3457                }3410                }
3458                container segment-routing {3411                container segment-routing {
3459                  description3412                  description
3460                    "Configure Static Segment Routing";3413                    "Configure Static Segment Routing";
3461                  container mpls {3414                  container mpls {
3462                    description3415                    description
3463                      "Configure mpls path name";3416                      "Configure mpls path name";
3464                    container path {3417                    container path {
3465                      description3418                      description
3466                        "Configure path name";3419                        "Configure path name";
3467                      container names {3420                      container names {
3468                        description3421                        description
3469                          "Configure path name";3422                          "Configure path name";
3470                        list name {3423                        list name {
3471                          key "path-name";3424                          key "path-name";
3472                          description3425                          description
3473                            "Configure path name";3426                            "Configure path name";
3474                          leaf path-name {3427                          leaf path-name {
3475                            type xr:Cisco-ios-xr-string {3428                            type xr:Cisco-ios-xr-string {
3476                              length "1..1024" {3429                              length "1..1024" {
3477                                description3430                                description
3478                                  "Path name";3431                                  "Path name";
3479                              }3432                              }
3480                            }3433                            }
3481                            description3434                            description
3482                              "Configure path name";3435                              "Configure path name";
3483                          }3436                          }
3484                          leaf distance-metric {3437                          leaf distance-metric {
3485                            type uint32 {3438                            type uint32 {
3486                              range "1..254" {3439                              range "1..254" {
3487                                description3440                                description
3488                                  "Distance metric for this route";3441                                  "Distance metric for this route";
3489                              }3442                              }
3490                            }3443                            }
3491                            description3444                            description
3492                              "Distance metric for this route";3445                              "Distance metric for this route";
3493                          }3446                          }
3494                          leaf tag {3447                          leaf tag {
3495                            type uint32 {3448                            type uint32 {
3496                              range "1..4294967295" {3449                              range "1..4294967295" {
3497                                description3450                                description
3498                                  "Set tag for this route";3451                                  "Set tag for this route";
3499                              }3452                              }
3500                            }3453                            }
3501                            description3454                            description
3502                              "Set tag for this route";3455                              "Set tag for this route";
3503                          }3456                          }
3504                          leaf description {3457                          leaf description {
3505                            type string {3458                            type string {
3506                              length "1..30" {3459                              length "1..30" {
3507                                description3460                                description
3508                                  "short description of static route";3461                                  "short description of static route";
3509                              }3462                              }
3510                            }3463                            }
3511                            description3464                            description
3512                              "description of the static route";3465                              "description of the static route";
3513                          }3466                          }
3514                          leaf metric {3467                          leaf metric {
3515                            type uint32 {3468                            type uint32 {
3516                              range "1..16777214" {3469                              range "1..16777214" {
3517                                description3470                                description
3518                                  "Set metric for this route";3471                                  "Set metric for this route";
3519                              }3472                              }
3520                            }3473                            }
3521                            description3474                            description
3522                              "Set metric for this route";3475                              "Set metric for this route";
3523                          }3476                          }
n3524                          leaf algorithm {n
3525                            type uint32 {
3526                              range "128..255" {
3527                                description
3528                                  "Set algorithm value for this route";
3529                              }
3530                            }
3531                            description
3532                              "Set algorithm value for this route";
3533                          }
3534                        }
3535                      }
3536                    }
3537                  }
3538                  container srv6 {
3539                    description
3540                      "srv6 specific commands";
3541                    container endpoint {
3542                      description
3543                        "srv6 endpoint for this prefix";
3544                      container behavior {
3545                        description
3546                          "endpoint behaviour dx4, dt4 etc.";
3547                        list vrf {
3548                          must "udt46 or dt46";
3549                          key "vrf-name";
3550                          description
3551                            "vrf";
3552                          leaf vrf-name {
3553                            type union {
3554                              type string {
3555                                pattern "default" {
3556                                  description
3557                                    "Use the default vrf";
3558                                }
3559                              }
3560                              type string {
3561                                length "1..32" {
3562                                  description
3563                                    "vrf name";
3564                                }
3565                              }
3566                            }
3567                            description
3568                              "vrf";
3569                          }
3570                          container udt46 {
3571                            must "not(../dt46)";
3572                            presence "Indicates a u-dt46 node is configured.";
3573                            description
3574                              "udt46 behavior";
3575                          }
3576                          container dt46 {
3577                            must "not(../dt46)";
3578                            presence "Indicates a dt46 node is configured.";
3579                            description
3580                              "dt46 behavior";
3581                          }
3582                        }3477                        }
3583                      }3478                      }
3584                    }3479                    }
3585                  }3480                  }
3586                }3481                }
3587                container sr-policies {3482                container sr-policies {
3588                  description3483                  description
3589                    "segment routing policy";3484                    "segment routing policy";
3590                  list sr-policy {3485                  list sr-policy {
3591                    key "sr-policy-name";3486                    key "sr-policy-name";
3592                    description3487                    description
3593                      "segment routing policy";3488                      "segment routing policy";
3594                    leaf sr-policy-name {3489                    leaf sr-policy-name {
3595                      type xr:Cisco-ios-xr-string {3490                      type xr:Cisco-ios-xr-string {
3596                        length "1..1024" {3491                        length "1..1024" {
3597                          description3492                          description
3598                            "SR policy name";3493                            "SR policy name";
3599                        }3494                        }
3600                      }3495                      }
3601                      description3496                      description
3602                        "segment routing policy";3497                        "segment routing policy";
3603                    }3498                    }
3604                    leaf distance-metric {3499                    leaf distance-metric {
3605                      type uint32 {3500                      type uint32 {
3606                        range "1..254" {3501                        range "1..254" {
3607                          description3502                          description
3608                            "Distance metric for this route";3503                            "Distance metric for this route";
3609                        }3504                        }
3610                      }3505                      }
3611                      description3506                      description
3612                        "Distance metric for this route";3507                        "Distance metric for this route";
3613                    }3508                    }
3614                    leaf tag {3509                    leaf tag {
3615                      type uint32 {3510                      type uint32 {
3616                        range "1..4294967295" {3511                        range "1..4294967295" {
3617                          description3512                          description
3618                            "Set tag for this route";3513                            "Set tag for this route";
3619                        }3514                        }
3620                      }3515                      }
3621                      description3516                      description
3622                        "Set tag for this route";3517                        "Set tag for this route";
3623                    }3518                    }
3624                    container permanent {3519                    container permanent {
3625                      presence "Indicates a permanent node is configured.";3520                      presence "Indicates a permanent node is configured.";
3626                      description3521                      description
3627                        "Permanent route";3522                        "Permanent route";
3628                    }3523                    }
3629                    leaf vrflabel {3524                    leaf vrflabel {
3630                      type uint32 {3525                      type uint32 {
3631                        range "0..4294967295" {3526                        range "0..4294967295" {
3632                          description3527                          description
3633                            "VRF label";3528                            "VRF label";
3634                        }3529                        }
3635                      }3530                      }
3636                      description3531                      description
3637                        "VRF label";3532                        "VRF label";
3638                    }3533                    }
3639                    leaf tunnel-id {3534                    leaf tunnel-id {
3640                      type uint32 {3535                      type uint32 {
3641                        range "0..4294967295" {3536                        range "0..4294967295" {
3642                          description3537                          description
3643                            "Tunnel ID";3538                            "Tunnel ID";
3644                        }3539                        }
3645                      }3540                      }
3646                      description3541                      description
3647                        "Tunnel ID";3542                        "Tunnel ID";
3648                    }3543                    }
3649                    leaf description {3544                    leaf description {
3650                      type string {3545                      type string {
3651                        length "1..30" {3546                        length "1..30" {
3652                          description3547                          description
3653                            "short description of static route";3548                            "short description of static route";
3654                        }3549                        }
3655                      }3550                      }
3656                      description3551                      description
3657                        "description of the static route";3552                        "description of the static route";
3658                    }3553                    }
3659                    leaf track {3554                    leaf track {
3660                      type xr:Cisco-ios-xr-string {3555                      type xr:Cisco-ios-xr-string {
3661                        length "1..32" {3556                        length "1..32" {
3662                          description3557                          description
3663                            "Object to be tracked";3558                            "Object to be tracked";
3664                        }3559                        }
3665                      }3560                      }
3666                      description3561                      description
3667                        "Enable object tracking for static route";3562                        "Enable object tracking for static route";
3668                    }3563                    }
3669                    leaf metric {3564                    leaf metric {
3670                      type uint32 {3565                      type uint32 {
3671                        range "1..16777214" {3566                        range "1..16777214" {
3672                          description3567                          description
3673                            "Set metric for this route";3568                            "Set metric for this route";
3674                        }3569                        }
3675                      }3570                      }
3676                      description3571                      description
3677                        "Set metric for this route";3572                        "Set metric for this route";
3678                    }3573                    }
n3679                    leaf algorithm {n
3680                      type uint32 {
3681                        range "128..255" {
3682                          description
3683                            "Set algorithm value for this route";
3684                        }
3685                      }
3686                      description
3687                        "Set algorithm value for this route";
3688                    }
3689                    container prefer-rib-over-ldp {3574                    container prefer-rib-over-ldp {
3690                      presence "Indicates a prefer-rib-over-ldp node is configured.";3575                      presence "Indicates a prefer-rib-over-ldp node is configured.";
3691                      description3576                      description
3692                        "Flag passed to rib to prefer rib over ldp";3577                        "Flag passed to rib to prefer rib over ldp";
3693                    }3578                    }
3694                  }3579                  }
3695                }3580                }
3696                container nexthop-interfaces {3581                container nexthop-interfaces {
3697                  description3582                  description
3698                    "Forwarding interface";3583                    "Forwarding interface";
3699                  list nexthop-interface {3584                  list nexthop-interface {
3700                    key "interface-name";3585                    key "interface-name";
3701                    description3586                    description
3702                      "Forwarding interface";3587                      "Forwarding interface";
3703                    leaf interface-name {3588                    leaf interface-name {
3704                      type xr:Interface-name;3589                      type xr:Interface-name;
3705                      description3590                      description
3706                        "Forwarding interface";3591                        "Forwarding interface";
3707                    }3592                    }
3708                    leaf distance-metric {3593                    leaf distance-metric {
3709                      type uint32 {3594                      type uint32 {
3710                        range "1..254" {3595                        range "1..254" {
3711                          description3596                          description
3712                            "Distance metric for this route";3597                            "Distance metric for this route";
3713                        }3598                        }
3714                      }3599                      }
3715                      description3600                      description
3716                        "Distance metric for this route";3601                        "Distance metric for this route";
3717                    }3602                    }
3718                    leaf tag {3603                    leaf tag {
3719                      type uint32 {3604                      type uint32 {
3720                        range "1..4294967295" {3605                        range "1..4294967295" {
3721                          description3606                          description
3722                            "Set tag for this route";3607                            "Set tag for this route";
3723                        }3608                        }
3724                      }3609                      }
3725                      description3610                      description
3726                        "Set tag for this route";3611                        "Set tag for this route";
3727                    }3612                    }
3728                    container permanent {3613                    container permanent {
3729                      presence "Indicates a permanent node is configured.";3614                      presence "Indicates a permanent node is configured.";
3730                      description3615                      description
3731                        "Permanent route";3616                        "Permanent route";
3732                    }3617                    }
3733                    leaf vrflabel {3618                    leaf vrflabel {
3734                      type uint32 {3619                      type uint32 {
3735                        range "0..4294967295" {3620                        range "0..4294967295" {
3736                          description3621                          description
3737                            "VRF label";3622                            "VRF label";
3738                        }3623                        }
3739                      }3624                      }
3740                      description3625                      description
3741                        "VRF label";3626                        "VRF label";
3742                    }3627                    }
3743                    leaf tunnel-id {3628                    leaf tunnel-id {
3744                      type uint32 {3629                      type uint32 {
3745                        range "0..4294967295" {3630                        range "0..4294967295" {
3746                          description3631                          description
3747                            "Tunnel ID";3632                            "Tunnel ID";
3748                        }3633                        }
3749                      }3634                      }
3750                      description3635                      description
3751                        "Tunnel ID";3636                        "Tunnel ID";
3752                    }3637                    }
3753                    leaf description {3638                    leaf description {
3754                      type string {3639                      type string {
3755                        length "1..30" {3640                        length "1..30" {
3756                          description3641                          description
3757                            "short description of static route";3642                            "short description of static route";
3758                        }3643                        }
3759                      }3644                      }
3760                      description3645                      description
3761                        "description of the static route";3646                        "description of the static route";
3762                    }3647                    }
3763                    leaf track {3648                    leaf track {
3764                      type xr:Cisco-ios-xr-string {3649                      type xr:Cisco-ios-xr-string {
3765                        length "1..32" {3650                        length "1..32" {
3766                          description3651                          description
3767                            "Object to be tracked";3652                            "Object to be tracked";
3768                        }3653                        }
3769                      }3654                      }
3770                      description3655                      description
3771                        "Enable object tracking for static route";3656                        "Enable object tracking for static route";
3772                    }3657                    }
3773                    leaf metric {3658                    leaf metric {
3774                      type uint32 {3659                      type uint32 {
3775                        range "1..16777214" {3660                        range "1..16777214" {
3776                          description3661                          description
3777                            "Set metric for this route";3662                            "Set metric for this route";
3778                        }3663                        }
3779                      }3664                      }
3780                      description3665                      description
3781                        "Set metric for this route";3666                        "Set metric for this route";
3782                    }3667                    }
n3783                    leaf algorithm {n
3784                      type uint32 {
3785                        range "128..255" {
3786                          description
3787                            "Set algorithm value for this route";
3788                        }
3789                      }
3790                      description
3791                        "Set algorithm value for this route";
3792                    }
3793                    container prefer-rib-over-ldp {3668                    container prefer-rib-over-ldp {
3794                      presence "Indicates a prefer-rib-over-ldp node is configured.";3669                      presence "Indicates a prefer-rib-over-ldp node is configured.";
3795                      description3670                      description
3796                        "Flag passed to rib to prefer rib over ldp";3671                        "Flag passed to rib to prefer rib over ldp";
3797                    }3672                    }
3798                  }3673                  }
3799                }3674                }
3800                container nexthop-interface-addresses {3675                container nexthop-interface-addresses {
3801                  description3676                  description
3802                    "Forwarding interface";3677                    "Forwarding interface";
3803                  list nexthop-interface-address {3678                  list nexthop-interface-address {
3804                    key "interface-name address";3679                    key "interface-name address";
3805                    description3680                    description
3806                      "Forwarding interface";3681                      "Forwarding interface";
3807                    leaf interface-name {3682                    leaf interface-name {
3808                      type xr:Interface-name;3683                      type xr:Interface-name;
3809                      description3684                      description
3810                        "Forwarding interface";3685                        "Forwarding interface";
3811                    }3686                    }
3812                    leaf address {3687                    leaf address {
3813                      type inet:ipv6-address-no-zone;3688                      type inet:ipv6-address-no-zone;
3814                      description3689                      description
3815                        "Forwarding router's address";3690                        "Forwarding router's address";
3816                    }3691                    }
3817                    container bfd {3692                    container bfd {
3818                      description3693                      description
3819                        "Configure BFD paramenters";3694                        "Configure BFD paramenters";
3820                      container fast-detect {3695                      container fast-detect {
3821                        presence "Indicates a fast-detect node is configured.";3696                        presence "Indicates a fast-detect node is configured.";
3822                        description3697                        description
3823                          "Enable Fast detection";3698                          "Enable Fast detection";
3824                        leaf minimum-interval {3699                        leaf minimum-interval {
3825                          type uint32 {3700                          type uint32 {
3826                            range "3..30000" {3701                            range "3..30000" {
3827                              description3702                              description
3828                                "interval in milli-seconds";3703                                "interval in milli-seconds";
3829                            }3704                            }
3830                          }3705                          }
3831                          description3706                          description
3832                            "Hello interval";3707                            "Hello interval";
3833                        }3708                        }
3834                        leaf multiplier {3709                        leaf multiplier {
3835                          type uint32 {3710                          type uint32 {
3836                            range "1..10" {3711                            range "1..10" {
3837                              description3712                              description
3838                                "Detect multiplier";3713                                "Detect multiplier";
3839                            }3714                            }
3840                          }3715                          }
3841                          description3716                          description
3842                            "Detect multiplier";3717                            "Detect multiplier";
3843                        }3718                        }
3844                      }3719                      }
3845                    }3720                    }
3846                    leaf distance-metric {3721                    leaf distance-metric {
3847                      type uint32 {3722                      type uint32 {
3848                        range "1..254" {3723                        range "1..254" {
3849                          description3724                          description
3850                            "Distance metric for this route";3725                            "Distance metric for this route";
3851                        }3726                        }
3852                      }3727                      }
3853                      description3728                      description
3854                        "Distance metric for this route";3729                        "Distance metric for this route";
3855                    }3730                    }
3856                    leaf tag {3731                    leaf tag {
3857                      type uint32 {3732                      type uint32 {
3858                        range "1..4294967295" {3733                        range "1..4294967295" {
3859                          description3734                          description
3860                            "Set tag for this route";3735                            "Set tag for this route";
3861                        }3736                        }
3862                      }3737                      }
3863                      description3738                      description
3864                        "Set tag for this route";3739                        "Set tag for this route";
3865                    }3740                    }
3866                    container permanent {3741                    container permanent {
3867                      presence "Indicates a permanent node is configured.";3742                      presence "Indicates a permanent node is configured.";
3868                      description3743                      description
3869                        "Permanent route";3744                        "Permanent route";
3870                    }3745                    }
3871                    leaf vrflabel {3746                    leaf vrflabel {
3872                      type uint32 {3747                      type uint32 {
3873                        range "0..4294967295" {3748                        range "0..4294967295" {
3874                          description3749                          description
3875                            "VRF label";3750                            "VRF label";
3876                        }3751                        }
3877                      }3752                      }
3878                      description3753                      description
3879                        "VRF label";3754                        "VRF label";
3880                    }3755                    }
3881                    leaf tunnel-id {3756                    leaf tunnel-id {
3882                      type uint32 {3757                      type uint32 {
3883                        range "0..4294967295" {3758                        range "0..4294967295" {
3884                          description3759                          description
3885                            "Tunnel ID";3760                            "Tunnel ID";
3886                        }3761                        }
3887                      }3762                      }
3888                      description3763                      description
3889                        "Tunnel ID";3764                        "Tunnel ID";
3890                    }3765                    }
3891                    leaf description {3766                    leaf description {
3892                      type string {3767                      type string {
3893                        length "1..30" {3768                        length "1..30" {
3894                          description3769                          description
3895                            "short description of static route";3770                            "short description of static route";
3896                        }3771                        }
3897                      }3772                      }
3898                      description3773                      description
3899                        "description of the static route";3774                        "description of the static route";
3900                    }3775                    }
3901                    leaf track {3776                    leaf track {
3902                      type xr:Cisco-ios-xr-string {3777                      type xr:Cisco-ios-xr-string {
3903                        length "1..32" {3778                        length "1..32" {
3904                          description3779                          description
3905                            "Object to be tracked";3780                            "Object to be tracked";
3906                        }3781                        }
3907                      }3782                      }
3908                      description3783                      description
3909                        "Enable object tracking for static route";3784                        "Enable object tracking for static route";
3910                    }3785                    }
3911                    leaf metric {3786                    leaf metric {
3912                      type uint32 {3787                      type uint32 {
3913                        range "1..16777214" {3788                        range "1..16777214" {
3914                          description3789                          description
3915                            "Set metric for this route";3790                            "Set metric for this route";
3916                        }3791                        }
3917                      }3792                      }
3918                      description3793                      description
3919                        "Set metric for this route";3794                        "Set metric for this route";
3920                    }3795                    }
n3921                    leaf algorithm {n
3922                      type uint32 {
3923                        range "128..255" {
3924                          description
3925                            "Set algorithm value for this route";
3926                        }
3927                      }
3928                      description
3929                        "Set algorithm value for this route";
3930                    }
3931                    container prefer-rib-over-ldp {3796                    container prefer-rib-over-ldp {
3932                      presence "Indicates a prefer-rib-over-ldp node is configured.";3797                      presence "Indicates a prefer-rib-over-ldp node is configured.";
3933                      description3798                      description
3934                        "Flag passed to rib to prefer rib over ldp";3799                        "Flag passed to rib to prefer rib over ldp";
3935                    }3800                    }
3936                  }3801                  }
3937                }3802                }
3938                container nexthop-addresses {3803                container nexthop-addresses {
3939                  description3804                  description
3940                    "Forwarding router's address";3805                    "Forwarding router's address";
3941                  list nexthop-address {3806                  list nexthop-address {
3942                    key "address";3807                    key "address";
3943                    description3808                    description
3944                      "Forwarding router's address";3809                      "Forwarding router's address";
3945                    leaf address {3810                    leaf address {
3946                      type inet:ipv6-address-no-zone;3811                      type inet:ipv6-address-no-zone;
3947                      description3812                      description
3948                        "Forwarding router's address";3813                        "Forwarding router's address";
3949                    }3814                    }
3950                    container bfd {3815                    container bfd {
3951                      description3816                      description
3952                        "Configure BFD paramenters";3817                        "Configure BFD paramenters";
3953                      container fast-detect {3818                      container fast-detect {
3954                        presence "Indicates a fast-detect node is configured.";3819                        presence "Indicates a fast-detect node is configured.";
3955                        description3820                        description
3956                          "Enable Fast detection";3821                          "Enable Fast detection";
3957                        leaf minimum-interval {3822                        leaf minimum-interval {
3958                          type uint32 {3823                          type uint32 {
3959                            range "3..30000" {3824                            range "3..30000" {
3960                              description3825                              description
3961                                "interval in milli-seconds";3826                                "interval in milli-seconds";
3962                            }3827                            }
3963                          }3828                          }
3964                          description3829                          description
3965                            "Hello interval";3830                            "Hello interval";
3966                        }3831                        }
3967                        leaf multiplier {3832                        leaf multiplier {
3968                          type uint32 {3833                          type uint32 {
3969                            range "1..10" {3834                            range "1..10" {
3970                              description3835                              description
3971                                "Detect multiplier";3836                                "Detect multiplier";
3972                            }3837                            }
3973                          }3838                          }
3974                          description3839                          description
3975                            "Detect multiplier";3840                            "Detect multiplier";
3976                        }3841                        }
3977                        container multihop {3842                        container multihop {
3978                          presence "Indicates a multihop node is configured.";3843                          presence "Indicates a multihop node is configured.";
3979                          description3844                          description
3980                            "Enable BFD Multihop";3845                            "Enable BFD Multihop";
3981                          leaf address {3846                          leaf address {
3982                            type inet:ipv6-address-no-zone;3847                            type inet:ipv6-address-no-zone;
3983                            mandatory true;3848                            mandatory true;
3984                            description3849                            description
3985                              "Source address";3850                              "Source address";
3986                          }3851                          }
3987                        }3852                        }
3988                      }3853                      }
3989                    }3854                    }
3990                    leaf distance-metric {3855                    leaf distance-metric {
3991                      type uint32 {3856                      type uint32 {
3992                        range "1..254" {3857                        range "1..254" {
3993                          description3858                          description
3994                            "Distance metric for this route";3859                            "Distance metric for this route";
3995                        }3860                        }
3996                      }3861                      }
3997                      description3862                      description
3998                        "Distance metric for this route";3863                        "Distance metric for this route";
3999                    }3864                    }
4000                    leaf tag {3865                    leaf tag {
4001                      type uint32 {3866                      type uint32 {
4002                        range "1..4294967295" {3867                        range "1..4294967295" {
4003                          description3868                          description
4004                            "Set tag for this route";3869                            "Set tag for this route";
4005                        }3870                        }
4006                      }3871                      }
4007                      description3872                      description
4008                        "Set tag for this route";3873                        "Set tag for this route";
4009                    }3874                    }
4010                    container permanent {3875                    container permanent {
4011                      presence "Indicates a permanent node is configured.";3876                      presence "Indicates a permanent node is configured.";
4012                      description3877                      description
4013                        "Permanent route";3878                        "Permanent route";
4014                    }3879                    }
4015                    leaf vrflabel {3880                    leaf vrflabel {
4016                      type uint32 {3881                      type uint32 {
4017                        range "0..4294967295" {3882                        range "0..4294967295" {
4018                          description3883                          description
4019                            "VRF label";3884                            "VRF label";
4020                        }3885                        }
4021                      }3886                      }
4022                      description3887                      description
4023                        "VRF label";3888                        "VRF label";
4024                    }3889                    }
4025                    leaf tunnel-id {3890                    leaf tunnel-id {
4026                      type uint32 {3891                      type uint32 {
4027                        range "0..4294967295" {3892                        range "0..4294967295" {
4028                          description3893                          description
4029                            "Tunnel ID";3894                            "Tunnel ID";
4030                        }3895                        }
4031                      }3896                      }
4032                      description3897                      description
4033                        "Tunnel ID";3898                        "Tunnel ID";
4034                    }3899                    }
4035                    leaf description {3900                    leaf description {
4036                      type string {3901                      type string {
4037                        length "1..30" {3902                        length "1..30" {
4038                          description3903                          description
4039                            "short description of static route";3904                            "short description of static route";
4040                        }3905                        }
4041                      }3906                      }
4042                      description3907                      description
4043                        "description of the static route";3908                        "description of the static route";
4044                    }3909                    }
4045                    leaf track {3910                    leaf track {
4046                      type xr:Cisco-ios-xr-string {3911                      type xr:Cisco-ios-xr-string {
4047                        length "1..32" {3912                        length "1..32" {
4048                          description3913                          description
4049                            "Object to be tracked";3914                            "Object to be tracked";
4050                        }3915                        }
4051                      }3916                      }
4052                      description3917                      description
4053                        "Enable object tracking for static route";3918                        "Enable object tracking for static route";
4054                    }3919                    }
4055                    leaf metric {3920                    leaf metric {
4056                      type uint32 {3921                      type uint32 {
4057                        range "1..16777214" {3922                        range "1..16777214" {
4058                          description3923                          description
4059                            "Set metric for this route";3924                            "Set metric for this route";
4060                        }3925                        }
4061                      }3926                      }
4062                      description3927                      description
4063                        "Set metric for this route";3928                        "Set metric for this route";
4064                    }3929                    }
n4065                    leaf algorithm {n
4066                      type uint32 {
4067                        range "128..255" {
4068                          description
4069                            "Set algorithm value for this route";
4070                        }
4071                      }
4072                      description
4073                        "Set algorithm value for this route";
4074                    }
4075                    container prefer-rib-over-ldp {3930                    container prefer-rib-over-ldp {
4076                      presence "Indicates a prefer-rib-over-ldp node is configured.";3931                      presence "Indicates a prefer-rib-over-ldp node is configured.";
4077                      description3932                      description
4078                        "Flag passed to rib to prefer rib over ldp";3933                        "Flag passed to rib to prefer rib over ldp";
4079                    }3934                    }
4080                  }3935                  }
4081                  list nexthop-address-segment-routing {3936                  list nexthop-address-segment-routing {
4082                    key "address mpls-path-name";3937                    key "address mpls-path-name";
4083                    description3938                    description
4084                      "Forwarding router's address";3939                      "Forwarding router's address";
4085                    leaf address {3940                    leaf address {
4086                      type inet:ipv6-address-no-zone;3941                      type inet:ipv6-address-no-zone;
4087                      description3942                      description
4088                        "Forwarding router's address";3943                        "Forwarding router's address";
4089                    }3944                    }
4090                    leaf mpls-path-name {3945                    leaf mpls-path-name {
4091                      type xr:Cisco-ios-xr-string {3946                      type xr:Cisco-ios-xr-string {
4092                        length "1..1024" {3947                        length "1..1024" {
4093                          description3948                          description
4094                            "Path name";3949                            "Path name";
4095                        }3950                        }
4096                      }3951                      }
4097                      description3952                      description
4098                        "Configure path name";3953                        "Configure path name";
4099                    }3954                    }
4100                    leaf distance-metric {3955                    leaf distance-metric {
4101                      type uint32 {3956                      type uint32 {
4102                        range "1..254" {3957                        range "1..254" {
4103                          description3958                          description
4104                            "Distance metric for this route";3959                            "Distance metric for this route";
4105                        }3960                        }
4106                      }3961                      }
4107                      description3962                      description
4108                        "Distance metric for this route";3963                        "Distance metric for this route";
4109                    }3964                    }
4110                    leaf tag {3965                    leaf tag {
4111                      type uint32 {3966                      type uint32 {
4112                        range "1..4294967295" {3967                        range "1..4294967295" {
4113                          description3968                          description
4114                            "Set tag for this route";3969                            "Set tag for this route";
4115                        }3970                        }
4116                      }3971                      }
4117                      description3972                      description
4118                        "Set tag for this route";3973                        "Set tag for this route";
4119                    }3974                    }
4120                    leaf description {3975                    leaf description {
4121                      type string {3976                      type string {
4122                        length "1..30" {3977                        length "1..30" {
4123                          description3978                          description
4124                            "short description of static route";3979                            "short description of static route";
4125                        }3980                        }
4126                      }3981                      }
4127                      description3982                      description
4128                        "description of the static route";3983                        "description of the static route";
4129                    }3984                    }
4130                    leaf metric {3985                    leaf metric {
4131                      type uint32 {3986                      type uint32 {
4132                        range "1..16777214" {3987                        range "1..16777214" {
4133                          description3988                          description
4134                            "Set metric for this route";3989                            "Set metric for this route";
4135                        }3990                        }
4136                      }3991                      }
4137                      description3992                      description
4138                        "Set metric for this route";3993                        "Set metric for this route";
n4139                    }n
4140                    leaf algorithm {
4141                      type uint32 {
4142                        range "128..255" {
4143                          description
4144                            "Set algorithm value for this route";
4145                        }
4146                      }
4147                      description
4148                        "Set algorithm value for this route";
4149                    }3994                    }
4150                  }3995                  }
4151                }3996                }
4152                container vrfs {3997                container vrfs {
4153                  description3998                  description
4154                    "Destination VRF";3999                    "Destination VRF";
4155                  list vrf-only {4000                  list vrf-only {
4156                    key "vrf-name";4001                    key "vrf-name";
4157                    description4002                    description
4158                      "Destination only VRF";4003                      "Destination only VRF";
4159                    leaf vrf-name {4004                    leaf vrf-name {
4160                      type xr:Cisco-ios-xr-string {4005                      type xr:Cisco-ios-xr-string {
4161                        length "1..32" {4006                        length "1..32" {
4162                          description4007                          description
4163                            "VRF name";4008                            "VRF name";
4164                        }4009                        }
4165                      }4010                      }
4166                      description4011                      description
4167                        "Destination VRF";4012                        "Destination VRF";
n4168                    }n
4169                    leaf description {
4170                      type string {
4171                        length "1..254" {
4172                          description
4173                            "short description of static route";
4174                        }
4175                      }
4176                      description
4177                        "description of the static route";
4178                    }
4179                    leaf algorithm {
4180                      type uint32 {
4181                        range "128..255" {
4182                          description
4183                            "Set algorithm value for this route";
4184                        }
4185                      }
4186                      description
4187                        "Set algorithm value for this route";
4188                    }4013                    }
4189                  }4014                  }
4190                  list vrf {4015                  list vrf {
4191                    must4016                    must
4192                      "sr-policies/sr-policy or4017                      "sr-policies/sr-policy or
4193                       nexthop-interfaces/nexthop-interface or4018                       nexthop-interfaces/nexthop-interface or
4194                       nexthop-interface-addresses/nexthop-interface-address or4019                       nexthop-interface-addresses/nexthop-interface-address or
4195                       nexthop-addresses/nexthop-address";4020                       nexthop-addresses/nexthop-address";
4196                    key "vrf-name";4021                    key "vrf-name";
4197                    description4022                    description
4198                      "Destination VRF";4023                      "Destination VRF";
4199                    leaf vrf-name {4024                    leaf vrf-name {
4200                      type xr:Cisco-ios-xr-string {4025                      type xr:Cisco-ios-xr-string {
4201                        length "1..32" {4026                        length "1..32" {
4202                          description4027                          description
4203                            "VRF name";4028                            "VRF name";
4204                        }4029                        }
4205                      }4030                      }
4206                      description4031                      description
4207                        "Destination VRF";4032                        "Destination VRF";
4208                    }4033                    }
4209                    container sr-policies {4034                    container sr-policies {
4210                      description4035                      description
4211                        "segment routing policy";4036                        "segment routing policy";
4212                      list sr-policy {4037                      list sr-policy {
4213                        key "sr-policy-name";4038                        key "sr-policy-name";
4214                        description4039                        description
4215                          "segment routing policy";4040                          "segment routing policy";
4216                        leaf sr-policy-name {4041                        leaf sr-policy-name {
4217                          type xr:Cisco-ios-xr-string {4042                          type xr:Cisco-ios-xr-string {
4218                            length "1..1024" {4043                            length "1..1024" {
4219                              description4044                              description
4220                                "SR policy name";4045                                "SR policy name";
4221                            }4046                            }
4222                          }4047                          }
4223                          description4048                          description
4224                            "segment routing policy";4049                            "segment routing policy";
4225                        }4050                        }
4226                        leaf distance-metric {4051                        leaf distance-metric {
4227                          type uint32 {4052                          type uint32 {
4228                            range "1..254" {4053                            range "1..254" {
4229                              description4054                              description
4230                                "Distance metric for this route";4055                                "Distance metric for this route";
4231                            }4056                            }
4232                          }4057                          }
4233                          description4058                          description
4234                            "Distance metric for this route";4059                            "Distance metric for this route";
4235                        }4060                        }
4236                        leaf tag {4061                        leaf tag {
4237                          type uint32 {4062                          type uint32 {
4238                            range "1..4294967295" {4063                            range "1..4294967295" {
4239                              description4064                              description
4240                                "Set tag for this route";4065                                "Set tag for this route";
4241                            }4066                            }
4242                          }4067                          }
4243                          description4068                          description
4244                            "Set tag for this route";4069                            "Set tag for this route";
4245                        }4070                        }
4246                        container permanent {4071                        container permanent {
4247                          presence "Indicates a permanent node is configured.";4072                          presence "Indicates a permanent node is configured.";
4248                          description4073                          description
4249                            "Permanent route";4074                            "Permanent route";
4250                        }4075                        }
4251                        leaf vrflabel {4076                        leaf vrflabel {
4252                          type uint32 {4077                          type uint32 {
4253                            range "0..4294967295" {4078                            range "0..4294967295" {
4254                              description4079                              description
4255                                "VRF label";4080                                "VRF label";
4256                            }4081                            }
4257                          }4082                          }
4258                          description4083                          description
4259                            "VRF label";4084                            "VRF label";
4260                        }4085                        }
4261                        leaf tunnel-id {4086                        leaf tunnel-id {
4262                          type uint32 {4087                          type uint32 {
4263                            range "0..4294967295" {4088                            range "0..4294967295" {
4264                              description4089                              description
4265                                "Tunnel ID";4090                                "Tunnel ID";
4266                            }4091                            }
4267                          }4092                          }
4268                          description4093                          description
4269                            "Tunnel ID";4094                            "Tunnel ID";
4270                        }4095                        }
4271                        leaf description {4096                        leaf description {
4272                          type string {4097                          type string {
4273                            length "1..30" {4098                            length "1..30" {
4274                              description4099                              description
4275                                "short description of static route";4100                                "short description of static route";
4276                            }4101                            }
4277                          }4102                          }
4278                          description4103                          description
4279                            "description of the static route";4104                            "description of the static route";
4280                        }4105                        }
4281                        leaf track {4106                        leaf track {
4282                          type xr:Cisco-ios-xr-string {4107                          type xr:Cisco-ios-xr-string {
4283                            length "1..32" {4108                            length "1..32" {
4284                              description4109                              description
4285                                "Object to be tracked";4110                                "Object to be tracked";
4286                            }4111                            }
4287                          }4112                          }
4288                          description4113                          description
4289                            "Enable object tracking for static route";4114                            "Enable object tracking for static route";
4290                        }4115                        }
4291                        leaf metric {4116                        leaf metric {
4292                          type uint32 {4117                          type uint32 {
4293                            range "1..16777214" {4118                            range "1..16777214" {
4294                              description4119                              description
4295                                "Set metric for this route";4120                                "Set metric for this route";
4296                            }4121                            }
4297                          }4122                          }
4298                          description4123                          description
4299                            "Set metric for this route";4124                            "Set metric for this route";
4300                        }4125                        }
n4301                        leaf algorithm {n
4302                          type uint32 {
4303                            range "128..255" {
4304                              description
4305                                "Set algorithm value for this route";
4306                            }
4307                          }
4308                          description
4309                            "Set algorithm value for this route";
4310                        }
4311                        container prefer-rib-over-ldp {4126                        container prefer-rib-over-ldp {
4312                          presence "Indicates a prefer-rib-over-ldp node is configured.";4127                          presence "Indicates a prefer-rib-over-ldp node is configured.";
4313                          description4128                          description
4314                            "Flag passed to rib to prefer rib over ldp";4129                            "Flag passed to rib to prefer rib over ldp";
4315                        }4130                        }
4316                      }4131                      }
4317                    }4132                    }
4318                    container nexthop-interfaces {4133                    container nexthop-interfaces {
4319                      description4134                      description
4320                        "Forwarding interface";4135                        "Forwarding interface";
4321                      list nexthop-interface {4136                      list nexthop-interface {
4322                        key "interface-name";4137                        key "interface-name";
4323                        description4138                        description
4324                          "Forwarding interface";4139                          "Forwarding interface";
4325                        leaf interface-name {4140                        leaf interface-name {
4326                          type xr:Interface-name;4141                          type xr:Interface-name;
4327                          description4142                          description
4328                            "Forwarding interface";4143                            "Forwarding interface";
4329                        }4144                        }
4330                        leaf distance-metric {4145                        leaf distance-metric {
4331                          type uint32 {4146                          type uint32 {
4332                            range "1..254" {4147                            range "1..254" {
4333                              description4148                              description
4334                                "Distance metric for this route";4149                                "Distance metric for this route";
4335                            }4150                            }
4336                          }4151                          }
4337                          description4152                          description
4338                            "Distance metric for this route";4153                            "Distance metric for this route";
4339                        }4154                        }
4340                        leaf tag {4155                        leaf tag {
4341                          type uint32 {4156                          type uint32 {
4342                            range "1..4294967295" {4157                            range "1..4294967295" {
4343                              description4158                              description
4344                                "Set tag for this route";4159                                "Set tag for this route";
4345                            }4160                            }
4346                          }4161                          }
4347                          description4162                          description
4348                            "Set tag for this route";4163                            "Set tag for this route";
4349                        }4164                        }
4350                        container permanent {4165                        container permanent {
4351                          presence "Indicates a permanent node is configured.";4166                          presence "Indicates a permanent node is configured.";
4352                          description4167                          description
4353                            "Permanent route";4168                            "Permanent route";
4354                        }4169                        }
4355                        leaf vrflabel {4170                        leaf vrflabel {
4356                          type uint32 {4171                          type uint32 {
4357                            range "0..4294967295" {4172                            range "0..4294967295" {
4358                              description4173                              description
4359                                "VRF label";4174                                "VRF label";
4360                            }4175                            }
4361                          }4176                          }
4362                          description4177                          description
4363                            "VRF label";4178                            "VRF label";
4364                        }4179                        }
4365                        leaf tunnel-id {4180                        leaf tunnel-id {
4366                          type uint32 {4181                          type uint32 {
4367                            range "0..4294967295" {4182                            range "0..4294967295" {
4368                              description4183                              description
4369                                "Tunnel ID";4184                                "Tunnel ID";
4370                            }4185                            }
4371                          }4186                          }
4372                          description4187                          description
4373                            "Tunnel ID";4188                            "Tunnel ID";
4374                        }4189                        }
4375                        leaf description {4190                        leaf description {
4376                          type string {4191                          type string {
4377                            length "1..30" {4192                            length "1..30" {
4378                              description4193                              description
4379                                "short description of static route";4194                                "short description of static route";
4380                            }4195                            }
4381                          }4196                          }
4382                          description4197                          description
4383                            "description of the static route";4198                            "description of the static route";
4384                        }4199                        }
4385                        leaf track {4200                        leaf track {
4386                          type xr:Cisco-ios-xr-string {4201                          type xr:Cisco-ios-xr-string {
4387                            length "1..32" {4202                            length "1..32" {
4388                              description4203                              description
4389                                "Object to be tracked";4204                                "Object to be tracked";
4390                            }4205                            }
4391                          }4206                          }
4392                          description4207                          description
4393                            "Enable object tracking for static route";4208                            "Enable object tracking for static route";
4394                        }4209                        }
4395                        leaf metric {4210                        leaf metric {
4396                          type uint32 {4211                          type uint32 {
4397                            range "1..16777214" {4212                            range "1..16777214" {
4398                              description4213                              description
4399                                "Set metric for this route";4214                                "Set metric for this route";
4400                            }4215                            }
4401                          }4216                          }
4402                          description4217                          description
4403                            "Set metric for this route";4218                            "Set metric for this route";
4404                        }4219                        }
n4405                        leaf algorithm {n
4406                          type uint32 {
4407                            range "128..255" {
4408                              description
4409                                "Set algorithm value for this route";
4410                            }
4411                          }
4412                          description
4413                            "Set algorithm value for this route";
4414                        }
4415                        container prefer-rib-over-ldp {4220                        container prefer-rib-over-ldp {
4416                          presence "Indicates a prefer-rib-over-ldp node is configured.";4221                          presence "Indicates a prefer-rib-over-ldp node is configured.";
4417                          description4222                          description
4418                            "Flag passed to rib to prefer rib over ldp";4223                            "Flag passed to rib to prefer rib over ldp";
4419                        }4224                        }
4420                      }4225                      }
4421                    }4226                    }
4422                    container nexthop-interface-addresses {4227                    container nexthop-interface-addresses {
4423                      description4228                      description
4424                        "Forwarding interface";4229                        "Forwarding interface";
4425                      list nexthop-interface-address {4230                      list nexthop-interface-address {
4426                        key "interface-name address";4231                        key "interface-name address";
4427                        description4232                        description
4428                          "Forwarding interface";4233                          "Forwarding interface";
4429                        leaf interface-name {4234                        leaf interface-name {
4430                          type xr:Interface-name;4235                          type xr:Interface-name;
4431                          description4236                          description
4432                            "Forwarding interface";4237                            "Forwarding interface";
4433                        }4238                        }
4434                        leaf address {4239                        leaf address {
4435                          type inet:ipv6-address-no-zone;4240                          type inet:ipv6-address-no-zone;
4436                          description4241                          description
4437                            "Forwarding router's address";4242                            "Forwarding router's address";
4438                        }4243                        }
4439                        container bfd {4244                        container bfd {
4440                          description4245                          description
4441                            "Configure BFD paramenters";4246                            "Configure BFD paramenters";
4442                          container fast-detect {4247                          container fast-detect {
4443                            presence "Indicates a fast-detect node is configured.";4248                            presence "Indicates a fast-detect node is configured.";
4444                            description4249                            description
4445                              "Enable Fast detection";4250                              "Enable Fast detection";
4446                            leaf minimum-interval {4251                            leaf minimum-interval {
4447                              type uint32 {4252                              type uint32 {
4448                                range "3..30000" {4253                                range "3..30000" {
4449                                  description4254                                  description
4450                                    "interval in milli-seconds";4255                                    "interval in milli-seconds";
4451                                }4256                                }
4452                              }4257                              }
4453                              description4258                              description
4454                                "Hello interval";4259                                "Hello interval";
4455                            }4260                            }
4456                            leaf multiplier {4261                            leaf multiplier {
4457                              type uint32 {4262                              type uint32 {
4458                                range "1..10" {4263                                range "1..10" {
4459                                  description4264                                  description
4460                                    "Detect multiplier";4265                                    "Detect multiplier";
4461                                }4266                                }
4462                              }4267                              }
4463                              description4268                              description
4464                                "Detect multiplier";4269                                "Detect multiplier";
4465                            }4270                            }
4466                          }4271                          }
4467                        }4272                        }
4468                        leaf distance-metric {4273                        leaf distance-metric {
4469                          type uint32 {4274                          type uint32 {
4470                            range "1..254" {4275                            range "1..254" {
4471                              description4276                              description
4472                                "Distance metric for this route";4277                                "Distance metric for this route";
4473                            }4278                            }
4474                          }4279                          }
4475                          description4280                          description
4476                            "Distance metric for this route";4281                            "Distance metric for this route";
4477                        }4282                        }
4478                        leaf tag {4283                        leaf tag {
4479                          type uint32 {4284                          type uint32 {
4480                            range "1..4294967295" {4285                            range "1..4294967295" {
4481                              description4286                              description
4482                                "Set tag for this route";4287                                "Set tag for this route";
4483                            }4288                            }
4484                          }4289                          }
4485                          description4290                          description
4486                            "Set tag for this route";4291                            "Set tag for this route";
4487                        }4292                        }
4488                        container permanent {4293                        container permanent {
4489                          presence "Indicates a permanent node is configured.";4294                          presence "Indicates a permanent node is configured.";
4490                          description4295                          description
4491                            "Permanent route";4296                            "Permanent route";
4492                        }4297                        }
4493                        leaf vrflabel {4298                        leaf vrflabel {
4494                          type uint32 {4299                          type uint32 {
4495                            range "0..4294967295" {4300                            range "0..4294967295" {
4496                              description4301                              description
4497                                "VRF label";4302                                "VRF label";
4498                            }4303                            }
4499                          }4304                          }
4500                          description4305                          description
4501                            "VRF label";4306                            "VRF label";
4502                        }4307                        }
4503                        leaf tunnel-id {4308                        leaf tunnel-id {
4504                          type uint32 {4309                          type uint32 {
4505                            range "0..4294967295" {4310                            range "0..4294967295" {
4506                              description4311                              description
4507                                "Tunnel ID";4312                                "Tunnel ID";
4508                            }4313                            }
4509                          }4314                          }
4510                          description4315                          description
4511                            "Tunnel ID";4316                            "Tunnel ID";
4512                        }4317                        }
4513                        leaf description {4318                        leaf description {
4514                          type string {4319                          type string {
4515                            length "1..30" {4320                            length "1..30" {
4516                              description4321                              description
4517                                "short description of static route";4322                                "short description of static route";
4518                            }4323                            }
4519                          }4324                          }
4520                          description4325                          description
4521                            "description of the static route";4326                            "description of the static route";
4522                        }4327                        }
4523                        leaf track {4328                        leaf track {
4524                          type xr:Cisco-ios-xr-string {4329                          type xr:Cisco-ios-xr-string {
4525                            length "1..32" {4330                            length "1..32" {
4526                              description4331                              description
4527                                "Object to be tracked";4332                                "Object to be tracked";
4528                            }4333                            }
4529                          }4334                          }
4530                          description4335                          description
4531                            "Enable object tracking for static route";4336                            "Enable object tracking for static route";
4532                        }4337                        }
4533                        leaf metric {4338                        leaf metric {
4534                          type uint32 {4339                          type uint32 {
4535                            range "1..16777214" {4340                            range "1..16777214" {
4536                              description4341                              description
4537                                "Set metric for this route";4342                                "Set metric for this route";
4538                            }4343                            }
4539                          }4344                          }
4540                          description4345                          description
4541                            "Set metric for this route";4346                            "Set metric for this route";
4542                        }4347                        }
n4543                        leaf algorithm {n
4544                          type uint32 {
4545                            range "128..255" {
4546                              description
4547                                "Set algorithm value for this route";
4548                            }
4549                          }
4550                          description
4551                            "Set algorithm value for this route";
4552                        }
4553                        container prefer-rib-over-ldp {4348                        container prefer-rib-over-ldp {
4554                          presence "Indicates a prefer-rib-over-ldp node is configured.";4349                          presence "Indicates a prefer-rib-over-ldp node is configured.";
4555                          description4350                          description
4556                            "Flag passed to rib to prefer rib over ldp";4351                            "Flag passed to rib to prefer rib over ldp";
4557                        }4352                        }
4558                      }4353                      }
4559                    }4354                    }
4560                    container nexthop-addresses {4355                    container nexthop-addresses {
4561                      description4356                      description
4562                        "Forwarding router's address";4357                        "Forwarding router's address";
4563                      list nexthop-address {4358                      list nexthop-address {
4564                        key "address";4359                        key "address";
4565                        description4360                        description
4566                          "Forwarding router's address";4361                          "Forwarding router's address";
4567                        leaf address {4362                        leaf address {
4568                          type inet:ipv6-address-no-zone;4363                          type inet:ipv6-address-no-zone;
4569                          description4364                          description
4570                            "Forwarding router's address";4365                            "Forwarding router's address";
4571                        }4366                        }
4572                        container bfd {4367                        container bfd {
4573                          description4368                          description
4574                            "Configure BFD paramenters";4369                            "Configure BFD paramenters";
4575                          container fast-detect {4370                          container fast-detect {
4576                            presence "Indicates a fast-detect node is configured.";4371                            presence "Indicates a fast-detect node is configured.";
4577                            description4372                            description
4578                              "Enable Fast detection";4373                              "Enable Fast detection";
4579                            leaf minimum-interval {4374                            leaf minimum-interval {
4580                              type uint32 {4375                              type uint32 {
4581                                range "3..30000" {4376                                range "3..30000" {
4582                                  description4377                                  description
4583                                    "interval in milli-seconds";4378                                    "interval in milli-seconds";
4584                                }4379                                }
4585                              }4380                              }
4586                              description4381                              description
4587                                "Hello interval";4382                                "Hello interval";
4588                            }4383                            }
4589                            leaf multiplier {4384                            leaf multiplier {
4590                              type uint32 {4385                              type uint32 {
4591                                range "1..10" {4386                                range "1..10" {
4592                                  description4387                                  description
4593                                    "Detect multiplier";4388                                    "Detect multiplier";
4594                                }4389                                }
4595                              }4390                              }
4596                              description4391                              description
4597                                "Detect multiplier";4392                                "Detect multiplier";
4598                            }4393                            }
4599                            container multihop {4394                            container multihop {
4600                              presence "Indicates a multihop node is configured.";4395                              presence "Indicates a multihop node is configured.";
4601                              description4396                              description
4602                                "Enable BFD Multihop";4397                                "Enable BFD Multihop";
4603                              leaf address {4398                              leaf address {
4604                                type inet:ipv6-address-no-zone;4399                                type inet:ipv6-address-no-zone;
4605                                mandatory true;4400                                mandatory true;
4606                                description4401                                description
4607                                  "Source address";4402                                  "Source address";
4608                              }4403                              }
4609                            }4404                            }
4610                          }4405                          }
4611                        }4406                        }
4612                        leaf distance-metric {4407                        leaf distance-metric {
4613                          type uint32 {4408                          type uint32 {
4614                            range "1..254" {4409                            range "1..254" {
4615                              description4410                              description
4616                                "Distance metric for this route";4411                                "Distance metric for this route";
4617                            }4412                            }
4618                          }4413                          }
4619                          description4414                          description
4620                            "Distance metric for this route";4415                            "Distance metric for this route";
4621                        }4416                        }
4622                        leaf tag {4417                        leaf tag {
4623                          type uint32 {4418                          type uint32 {
4624                            range "1..4294967295" {4419                            range "1..4294967295" {
4625                              description4420                              description
4626                                "Set tag for this route";4421                                "Set tag for this route";
4627                            }4422                            }
4628                          }4423                          }
4629                          description4424                          description
4630                            "Set tag for this route";4425                            "Set tag for this route";
4631                        }4426                        }
4632                        container permanent {4427                        container permanent {
4633                          presence "Indicates a permanent node is configured.";4428                          presence "Indicates a permanent node is configured.";
4634                          description4429                          description
4635                            "Permanent route";4430                            "Permanent route";
4636                        }4431                        }
4637                        leaf vrflabel {4432                        leaf vrflabel {
4638                          type uint32 {4433                          type uint32 {
4639                            range "0..4294967295" {4434                            range "0..4294967295" {
4640                              description4435                              description
4641                                "VRF label";4436                                "VRF label";
4642                            }4437                            }
4643                          }4438                          }
4644                          description4439                          description
4645                            "VRF label";4440                            "VRF label";
4646                        }4441                        }
4647                        leaf tunnel-id {4442                        leaf tunnel-id {
4648                          type uint32 {4443                          type uint32 {
4649                            range "0..4294967295" {4444                            range "0..4294967295" {
4650                              description4445                              description
4651                                "Tunnel ID";4446                                "Tunnel ID";
4652                            }4447                            }
4653                          }4448                          }
4654                          description4449                          description
4655                            "Tunnel ID";4450                            "Tunnel ID";
4656                        }4451                        }
4657                        leaf description {4452                        leaf description {
4658                          type string {4453                          type string {
4659                            length "1..30" {4454                            length "1..30" {
4660                              description4455                              description
4661                                "short description of static route";4456                                "short description of static route";
4662                            }4457                            }
4663                          }4458                          }
4664                          description4459                          description
4665                            "description of the static route";4460                            "description of the static route";
4666                        }4461                        }
4667                        leaf track {4462                        leaf track {
4668                          type xr:Cisco-ios-xr-string {4463                          type xr:Cisco-ios-xr-string {
4669                            length "1..32" {4464                            length "1..32" {
4670                              description4465                              description
4671                                "Object to be tracked";4466                                "Object to be tracked";
4672                            }4467                            }
4673                          }4468                          }
4674                          description4469                          description
4675                            "Enable object tracking for static route";4470                            "Enable object tracking for static route";
4676                        }4471                        }
4677                        leaf metric {4472                        leaf metric {
4678                          type uint32 {4473                          type uint32 {
4679                            range "1..16777214" {4474                            range "1..16777214" {
4680                              description4475                              description
4681                                "Set metric for this route";4476                                "Set metric for this route";
4682                            }4477                            }
4683                          }4478                          }
4684                          description4479                          description
4685                            "Set metric for this route";4480                            "Set metric for this route";
n4686                        }n
4687                        leaf algorithm {
4688                          type uint32 {
4689                            range "128..255" {
4690                              description
4691                                "Set algorithm value for this route";
4692                            }
4693                          }
4694                          description
4695                            "Set algorithm value for this route";
4696                        }4481                        }
4697                        container prefer-rib-over-ldp {4482                        container prefer-rib-over-ldp {
4698                          presence "Indicates a prefer-rib-over-ldp node is configured.";4483                          presence "Indicates a prefer-rib-over-ldp node is configured.";
4699                          description4484                          description
4700                            "Flag passed to rib to prefer rib over ldp";4485                            "Flag passed to rib to prefer rib over ldp";
4701                        }4486                        }
4702                      }4487                      }
4703                    }4488                    }
4704                  }4489                  }
4705                }4490                }
4706              }4491              }
4707            }4492            }
4708            container topologies {4493            container topologies {
4709              description4494              description
4710                "Topology static route configuration subcommands";4495                "Topology static route configuration subcommands";
4711              list topology {4496              list topology {
4712                key "topology-name";4497                key "topology-name";
4713                description4498                description
4714                  "Topology static route configuration subcommands";4499                  "Topology static route configuration subcommands";
4715                leaf topology-name {4500                leaf topology-name {
4716                  type xr:Cisco-ios-xr-string {4501                  type xr:Cisco-ios-xr-string {
4717                    length "1..63" {4502                    length "1..63" {
4718                      description4503                      description
4719                        "Topology name";4504                        "Topology name";
4720                    }4505                    }
4721                  }4506                  }
4722                  description4507                  description
4723                    "Topology static route configuration subcommands";4508                    "Topology static route configuration subcommands";
4724                }4509                }
4725              }4510              }
4726            }4511            }
4727          }4512          }
4728          container multicast {4513          container multicast {
4729            description4514            description
4730              "Multicast commands";4515              "Multicast commands";
4731            container prefixes {4516            container prefixes {
4732              description4517              description
4733                "Destination prefix";4518                "Destination prefix";
4734              list prefix {4519              list prefix {
4735                must4520                must
4736                  "segment-routing/mpls/path/names/name or4521                  "segment-routing/mpls/path/names/name or
4737                   sr-policies/sr-policy or4522                   sr-policies/sr-policy or
4738                   nexthop-interfaces/nexthop-interface or4523                   nexthop-interfaces/nexthop-interface or
4739                   nexthop-interface-addresses/nexthop-interface-address or4524                   nexthop-interface-addresses/nexthop-interface-address or
4740                   nexthop-addresses/nexthop-address or4525                   nexthop-addresses/nexthop-address or
4741                   nexthop-addresses/nexthop-address-segment-routing or4526                   nexthop-addresses/nexthop-address-segment-routing or
4742                   vrfs/vrf-only or vrfs/vrf/sr-policies/sr-policy or4527                   vrfs/vrf-only or vrfs/vrf/sr-policies/sr-policy or
4743                   vrfs/vrf/nexthop-interfaces/nexthop-interface or4528                   vrfs/vrf/nexthop-interfaces/nexthop-interface or
4744                   vrfs/vrf/nexthop-interface-addresses/nexthop-interface-address or4529                   vrfs/vrf/nexthop-interface-addresses/nexthop-interface-address or
4745                   vrfs/vrf/nexthop-addresses/nexthop-address";4530                   vrfs/vrf/nexthop-addresses/nexthop-address";
4746                key "prefix-address prefix-length";4531                key "prefix-address prefix-length";
4747                description4532                description
4748                  "Destination prefix";4533                  "Destination prefix";
4749                leaf prefix-address {4534                leaf prefix-address {
4750                  type inet:ipv6-address-no-zone;4535                  type inet:ipv6-address-no-zone;
4751                  description4536                  description
4752                    "Destination prefix";4537                    "Destination prefix";
4753                }4538                }
4754                leaf prefix-length {4539                leaf prefix-length {
4755                  type uint32 {4540                  type uint32 {
4756                    range "0..128";4541                    range "0..128";
4757                  }4542                  }
4758                  description4543                  description
4759                    "Destination prefix length";4544                    "Destination prefix length";
4760                }4545                }
4761                container segment-routing {4546                container segment-routing {
4762                  description4547                  description
4763                    "Configure Static Segment Routing";4548                    "Configure Static Segment Routing";
4764                  container mpls {4549                  container mpls {
4765                    description4550                    description
4766                      "Configure mpls path name";4551                      "Configure mpls path name";
4767                    container path {4552                    container path {
4768                      description4553                      description
4769                        "Configure path name";4554                        "Configure path name";
4770                      container names {4555                      container names {
4771                        description4556                        description
4772                          "Configure path name";4557                          "Configure path name";
4773                        list name {4558                        list name {
4774                          key "path-name";4559                          key "path-name";
4775                          description4560                          description
4776                            "Configure path name";4561                            "Configure path name";
4777                          leaf path-name {4562                          leaf path-name {
4778                            type xr:Cisco-ios-xr-string {4563                            type xr:Cisco-ios-xr-string {
4779                              length "1..1024" {4564                              length "1..1024" {
4780                                description4565                                description
4781                                  "Path name";4566                                  "Path name";
4782                              }4567                              }
4783                            }4568                            }
4784                            description4569                            description
4785                              "Configure path name";4570                              "Configure path name";
4786                          }4571                          }
4787                          leaf distance-metric {4572                          leaf distance-metric {
4788                            type uint32 {4573                            type uint32 {
4789                              range "1..254" {4574                              range "1..254" {
4790                                description4575                                description
4791                                  "Distance metric for this route";4576                                  "Distance metric for this route";
4792                              }4577                              }
4793                            }4578                            }
4794                            description4579                            description
4795                              "Distance metric for this route";4580                              "Distance metric for this route";
4796                          }4581                          }
4797                          leaf tag {4582                          leaf tag {
4798                            type uint32 {4583                            type uint32 {
4799                              range "1..4294967295" {4584                              range "1..4294967295" {
4800                                description4585                                description
4801                                  "Set tag for this route";4586                                  "Set tag for this route";
4802                              }4587                              }
4803                            }4588                            }
4804                            description4589                            description
4805                              "Set tag for this route";4590                              "Set tag for this route";
4806                          }4591                          }
4807                          leaf description {4592                          leaf description {
4808                            type string {4593                            type string {
4809                              length "1..30" {4594                              length "1..30" {
4810                                description4595                                description
4811                                  "short description of static route";4596                                  "short description of static route";
4812                              }4597                              }
4813                            }4598                            }
4814                            description4599                            description
4815                              "description of the static route";4600                              "description of the static route";
4816                          }4601                          }
4817                          leaf metric {4602                          leaf metric {
4818                            type uint32 {4603                            type uint32 {
4819                              range "1..16777214" {4604                              range "1..16777214" {
4820                                description4605                                description
4821                                  "Set metric for this route";4606                                  "Set metric for this route";
4822                              }4607                              }
4823                            }4608                            }
4824                            description4609                            description
4825                              "Set metric for this route";4610                              "Set metric for this route";
4826                          }4611                          }
n4827                          leaf algorithm {n
4828                            type uint32 {
4829                              range "128..255" {
4830                                description
4831                                  "Set algorithm value for this route";
4832                              }
4833                            }
4834                            description
4835                              "Set algorithm value for this route";
4836                          }
4837                        }4612                        }
4838                      }4613                      }
4839                    }4614                    }
4840                  }4615                  }
4841                }4616                }
4842                container sr-policies {4617                container sr-policies {
4843                  description4618                  description
4844                    "segment routing policy";4619                    "segment routing policy";
4845                  list sr-policy {4620                  list sr-policy {
4846                    key "sr-policy-name";4621                    key "sr-policy-name";
4847                    description4622                    description
4848                      "segment routing policy";4623                      "segment routing policy";
4849                    leaf sr-policy-name {4624                    leaf sr-policy-name {
4850                      type xr:Cisco-ios-xr-string {4625                      type xr:Cisco-ios-xr-string {
4851                        length "1..1024" {4626                        length "1..1024" {
4852                          description4627                          description
4853                            "SR policy name";4628                            "SR policy name";
4854                        }4629                        }
4855                      }4630                      }
4856                      description4631                      description
4857                        "segment routing policy";4632                        "segment routing policy";
4858                    }4633                    }
4859                    leaf distance-metric {4634                    leaf distance-metric {
4860                      type uint32 {4635                      type uint32 {
4861                        range "1..254" {4636                        range "1..254" {
4862                          description4637                          description
4863                            "Distance metric for this route";4638                            "Distance metric for this route";
4864                        }4639                        }
4865                      }4640                      }
4866                      description4641                      description
4867                        "Distance metric for this route";4642                        "Distance metric for this route";
4868                    }4643                    }
4869                    leaf tag {4644                    leaf tag {
4870                      type uint32 {4645                      type uint32 {
4871                        range "1..4294967295" {4646                        range "1..4294967295" {
4872                          description4647                          description
4873                            "Set tag for this route";4648                            "Set tag for this route";
4874                        }4649                        }
4875                      }4650                      }
4876                      description4651                      description
4877                        "Set tag for this route";4652                        "Set tag for this route";
4878                    }4653                    }
4879                    container permanent {4654                    container permanent {
4880                      presence "Indicates a permanent node is configured.";4655                      presence "Indicates a permanent node is configured.";
4881                      description4656                      description
4882                        "Permanent route";4657                        "Permanent route";
4883                    }4658                    }
4884                    leaf vrflabel {4659                    leaf vrflabel {
4885                      type uint32 {4660                      type uint32 {
4886                        range "0..4294967295" {4661                        range "0..4294967295" {
4887                          description4662                          description
4888                            "VRF label";4663                            "VRF label";
4889                        }4664                        }
4890                      }4665                      }
4891                      description4666                      description
4892                        "VRF label";4667                        "VRF label";
4893                    }4668                    }
4894                    leaf tunnel-id {4669                    leaf tunnel-id {
4895                      type uint32 {4670                      type uint32 {
4896                        range "0..4294967295" {4671                        range "0..4294967295" {
4897                          description4672                          description
4898                            "Tunnel ID";4673                            "Tunnel ID";
4899                        }4674                        }
4900                      }4675                      }
4901                      description4676                      description
4902                        "Tunnel ID";4677                        "Tunnel ID";
4903                    }4678                    }
4904                    leaf description {4679                    leaf description {
4905                      type string {4680                      type string {
4906                        length "1..30" {4681                        length "1..30" {
4907                          description4682                          description
4908                            "short description of static route";4683                            "short description of static route";
4909                        }4684                        }
4910                      }4685                      }
4911                      description4686                      description
4912                        "description of the static route";4687                        "description of the static route";
4913                    }4688                    }
4914                    leaf track {4689                    leaf track {
4915                      type xr:Cisco-ios-xr-string {4690                      type xr:Cisco-ios-xr-string {
4916                        length "1..32" {4691                        length "1..32" {
4917                          description4692                          description
4918                            "Object to be tracked";4693                            "Object to be tracked";
4919                        }4694                        }
4920                      }4695                      }
4921                      description4696                      description
4922                        "Enable object tracking for static route";4697                        "Enable object tracking for static route";
4923                    }4698                    }
4924                    leaf metric {4699                    leaf metric {
4925                      type uint32 {4700                      type uint32 {
4926                        range "1..16777214" {4701                        range "1..16777214" {
4927                          description4702                          description
4928                            "Set metric for this route";4703                            "Set metric for this route";
4929                        }4704                        }
4930                      }4705                      }
4931                      description4706                      description
4932                        "Set metric for this route";4707                        "Set metric for this route";
4933                    }4708                    }
n4934                    leaf algorithm {n
4935                      type uint32 {
4936                        range "128..255" {
4937                          description
4938                            "Set algorithm value for this route";
4939                        }
4940                      }
4941                      description
4942                        "Set algorithm value for this route";
4943                    }
4944                    container prefer-rib-over-ldp {4709                    container prefer-rib-over-ldp {
4945                      presence "Indicates a prefer-rib-over-ldp node is configured.";4710                      presence "Indicates a prefer-rib-over-ldp node is configured.";
4946                      description4711                      description
4947                        "Flag passed to rib to prefer rib over ldp";4712                        "Flag passed to rib to prefer rib over ldp";
4948                    }4713                    }
4949                  }4714                  }
4950                }4715                }
4951                container nexthop-interfaces {4716                container nexthop-interfaces {
4952                  description4717                  description
4953                    "Forwarding interface";4718                    "Forwarding interface";
4954                  list nexthop-interface {4719                  list nexthop-interface {
4955                    key "interface-name";4720                    key "interface-name";
4956                    description4721                    description
4957                      "Forwarding interface";4722                      "Forwarding interface";
4958                    leaf interface-name {4723                    leaf interface-name {
4959                      type xr:Interface-name;4724                      type xr:Interface-name;
4960                      description4725                      description
4961                        "Forwarding interface";4726                        "Forwarding interface";
4962                    }4727                    }
4963                    leaf distance-metric {4728                    leaf distance-metric {
4964                      type uint32 {4729                      type uint32 {
4965                        range "1..254" {4730                        range "1..254" {
4966                          description4731                          description
4967                            "Distance metric for this route";4732                            "Distance metric for this route";
4968                        }4733                        }
4969                      }4734                      }
4970                      description4735                      description
4971                        "Distance metric for this route";4736                        "Distance metric for this route";
4972                    }4737                    }
4973                    leaf tag {4738                    leaf tag {
4974                      type uint32 {4739                      type uint32 {
4975                        range "1..4294967295" {4740                        range "1..4294967295" {
4976                          description4741                          description
4977                            "Set tag for this route";4742                            "Set tag for this route";
4978                        }4743                        }
4979                      }4744                      }
4980                      description4745                      description
4981                        "Set tag for this route";4746                        "Set tag for this route";
4982                    }4747                    }
4983                    container permanent {4748                    container permanent {
4984                      presence "Indicates a permanent node is configured.";4749                      presence "Indicates a permanent node is configured.";
4985                      description4750                      description
4986                        "Permanent route";4751                        "Permanent route";
4987                    }4752                    }
4988                    leaf vrflabel {4753                    leaf vrflabel {
4989                      type uint32 {4754                      type uint32 {
4990                        range "0..4294967295" {4755                        range "0..4294967295" {
4991                          description4756                          description
4992                            "VRF label";4757                            "VRF label";
4993                        }4758                        }
4994                      }4759                      }
4995                      description4760                      description
4996                        "VRF label";4761                        "VRF label";
4997                    }4762                    }
4998                    leaf tunnel-id {4763                    leaf tunnel-id {
4999                      type uint32 {4764                      type uint32 {
5000                        range "0..4294967295" {4765                        range "0..4294967295" {
5001                          description4766                          description
5002                            "Tunnel ID";4767                            "Tunnel ID";
5003                        }4768                        }
5004                      }4769                      }
5005                      description4770                      description
5006                        "Tunnel ID";4771                        "Tunnel ID";
5007                    }4772                    }
5008                    leaf description {4773                    leaf description {
5009                      type string {4774                      type string {
5010                        length "1..30" {4775                        length "1..30" {
5011                          description4776                          description
5012                            "short description of static route";4777                            "short description of static route";
5013                        }4778                        }
5014                      }4779                      }
5015                      description4780                      description
5016                        "description of the static route";4781                        "description of the static route";
5017                    }4782                    }
5018                    leaf track {4783                    leaf track {
5019                      type xr:Cisco-ios-xr-string {4784                      type xr:Cisco-ios-xr-string {
5020                        length "1..32" {4785                        length "1..32" {
5021                          description4786                          description
5022                            "Object to be tracked";4787                            "Object to be tracked";
5023                        }4788                        }
5024                      }4789                      }
5025                      description4790                      description
5026                        "Enable object tracking for static route";4791                        "Enable object tracking for static route";
5027                    }4792                    }
5028                    leaf metric {4793                    leaf metric {
5029                      type uint32 {4794                      type uint32 {
5030                        range "1..16777214" {4795                        range "1..16777214" {
5031                          description4796                          description
5032                            "Set metric for this route";4797                            "Set metric for this route";
5033                        }4798                        }
5034                      }4799                      }
5035                      description4800                      description
5036                        "Set metric for this route";4801                        "Set metric for this route";
5037                    }4802                    }
n5038                    leaf algorithm {n
5039                      type uint32 {
5040                        range "128..255" {
5041                          description
5042                            "Set algorithm value for this route";
5043                        }
5044                      }
5045                      description
5046                        "Set algorithm value for this route";
5047                    }
5048                    container prefer-rib-over-ldp {4803                    container prefer-rib-over-ldp {
5049                      presence "Indicates a prefer-rib-over-ldp node is configured.";4804                      presence "Indicates a prefer-rib-over-ldp node is configured.";
5050                      description4805                      description
5051                        "Flag passed to rib to prefer rib over ldp";4806                        "Flag passed to rib to prefer rib over ldp";
5052                    }4807                    }
5053                  }4808                  }
5054                }4809                }
5055                container nexthop-interface-addresses {4810                container nexthop-interface-addresses {
5056                  description4811                  description
5057                    "Forwarding interface";4812                    "Forwarding interface";
5058                  list nexthop-interface-address {4813                  list nexthop-interface-address {
5059                    key "interface-name address";4814                    key "interface-name address";
5060                    description4815                    description
5061                      "Forwarding interface";4816                      "Forwarding interface";
5062                    leaf interface-name {4817                    leaf interface-name {
5063                      type xr:Interface-name;4818                      type xr:Interface-name;
5064                      description4819                      description
5065                        "Forwarding interface";4820                        "Forwarding interface";
5066                    }4821                    }
5067                    leaf address {4822                    leaf address {
5068                      type inet:ipv6-address-no-zone;4823                      type inet:ipv6-address-no-zone;
5069                      description4824                      description
5070                        "Forwarding router's address";4825                        "Forwarding router's address";
5071                    }4826                    }
5072                    container bfd {4827                    container bfd {
5073                      description4828                      description
5074                        "Configure BFD paramenters";4829                        "Configure BFD paramenters";
5075                      container fast-detect {4830                      container fast-detect {
5076                        presence "Indicates a fast-detect node is configured.";4831                        presence "Indicates a fast-detect node is configured.";
5077                        description4832                        description
5078                          "Enable Fast detection";4833                          "Enable Fast detection";
5079                        leaf minimum-interval {4834                        leaf minimum-interval {
5080                          type uint32 {4835                          type uint32 {
5081                            range "3..30000" {4836                            range "3..30000" {
5082                              description4837                              description
5083                                "interval in milli-seconds";4838                                "interval in milli-seconds";
5084                            }4839                            }
5085                          }4840                          }
5086                          description4841                          description
5087                            "Hello interval";4842                            "Hello interval";
5088                        }4843                        }
5089                        leaf multiplier {4844                        leaf multiplier {
5090                          type uint32 {4845                          type uint32 {
5091                            range "1..10" {4846                            range "1..10" {
5092                              description4847                              description
5093                                "Detect multiplier";4848                                "Detect multiplier";
5094                            }4849                            }
5095                          }4850                          }
5096                          description4851                          description
5097                            "Detect multiplier";4852                            "Detect multiplier";
5098                        }4853                        }
5099                      }4854                      }
5100                    }4855                    }
5101                    leaf distance-metric {4856                    leaf distance-metric {
5102                      type uint32 {4857                      type uint32 {
5103                        range "1..254" {4858                        range "1..254" {
5104                          description4859                          description
5105                            "Distance metric for this route";4860                            "Distance metric for this route";
5106                        }4861                        }
5107                      }4862                      }
5108                      description4863                      description
5109                        "Distance metric for this route";4864                        "Distance metric for this route";
5110                    }4865                    }
5111                    leaf tag {4866                    leaf tag {
5112                      type uint32 {4867                      type uint32 {
5113                        range "1..4294967295" {4868                        range "1..4294967295" {
5114                          description4869                          description
5115                            "Set tag for this route";4870                            "Set tag for this route";
5116                        }4871                        }
5117                      }4872                      }
5118                      description4873                      description
5119                        "Set tag for this route";4874                        "Set tag for this route";
5120                    }4875                    }
5121                    container permanent {4876                    container permanent {
5122                      presence "Indicates a permanent node is configured.";4877                      presence "Indicates a permanent node is configured.";
5123                      description4878                      description
5124                        "Permanent route";4879                        "Permanent route";
5125                    }4880                    }
5126                    leaf vrflabel {4881                    leaf vrflabel {
5127                      type uint32 {4882                      type uint32 {
5128                        range "0..4294967295" {4883                        range "0..4294967295" {
5129                          description4884                          description
5130                            "VRF label";4885                            "VRF label";
5131                        }4886                        }
5132                      }4887                      }
5133                      description4888                      description
5134                        "VRF label";4889                        "VRF label";
5135                    }4890                    }
5136                    leaf tunnel-id {4891                    leaf tunnel-id {
5137                      type uint32 {4892                      type uint32 {
5138                        range "0..4294967295" {4893                        range "0..4294967295" {
5139                          description4894                          description
5140                            "Tunnel ID";4895                            "Tunnel ID";
5141                        }4896                        }
5142                      }4897                      }
5143                      description4898                      description
5144                        "Tunnel ID";4899                        "Tunnel ID";
5145                    }4900                    }
5146                    leaf description {4901                    leaf description {
5147                      type string {4902                      type string {
5148                        length "1..30" {4903                        length "1..30" {
5149                          description4904                          description
5150                            "short description of static route";4905                            "short description of static route";
5151                        }4906                        }
5152                      }4907                      }
5153                      description4908                      description
5154                        "description of the static route";4909                        "description of the static route";
5155                    }4910                    }
5156                    leaf track {4911                    leaf track {
5157                      type xr:Cisco-ios-xr-string {4912                      type xr:Cisco-ios-xr-string {
5158                        length "1..32" {4913                        length "1..32" {
5159                          description4914                          description
5160                            "Object to be tracked";4915                            "Object to be tracked";
5161                        }4916                        }
5162                      }4917                      }
5163                      description4918                      description
5164                        "Enable object tracking for static route";4919                        "Enable object tracking for static route";
5165                    }4920                    }
5166                    leaf metric {4921                    leaf metric {
5167                      type uint32 {4922                      type uint32 {
5168                        range "1..16777214" {4923                        range "1..16777214" {
5169                          description4924                          description
5170                            "Set metric for this route";4925                            "Set metric for this route";
5171                        }4926                        }
5172                      }4927                      }
5173                      description4928                      description
5174                        "Set metric for this route";4929                        "Set metric for this route";
5175                    }4930                    }
n5176                    leaf algorithm {n
5177                      type uint32 {
5178                        range "128..255" {
5179                          description
5180                            "Set algorithm value for this route";
5181                        }
5182                      }
5183                      description
5184                        "Set algorithm value for this route";
5185                    }
5186                    container prefer-rib-over-ldp {4931                    container prefer-rib-over-ldp {
5187                      presence "Indicates a prefer-rib-over-ldp node is configured.";4932                      presence "Indicates a prefer-rib-over-ldp node is configured.";
5188                      description4933                      description
5189                        "Flag passed to rib to prefer rib over ldp";4934                        "Flag passed to rib to prefer rib over ldp";
5190                    }4935                    }
5191                  }4936                  }
5192                }4937                }
5193                container nexthop-addresses {4938                container nexthop-addresses {
5194                  description4939                  description
5195                    "Forwarding router's address";4940                    "Forwarding router's address";
5196                  list nexthop-address {4941                  list nexthop-address {
5197                    key "address";4942                    key "address";
5198                    description4943                    description
5199                      "Forwarding router's address";4944                      "Forwarding router's address";
5200                    leaf address {4945                    leaf address {
5201                      type inet:ipv6-address-no-zone;4946                      type inet:ipv6-address-no-zone;
5202                      description4947                      description
5203                        "Forwarding router's address";4948                        "Forwarding router's address";
5204                    }4949                    }
5205                    container bfd {4950                    container bfd {
5206                      description4951                      description
5207                        "Configure BFD paramenters";4952                        "Configure BFD paramenters";
5208                      container fast-detect {4953                      container fast-detect {
5209                        presence "Indicates a fast-detect node is configured.";4954                        presence "Indicates a fast-detect node is configured.";
5210                        description4955                        description
5211                          "Enable Fast detection";4956                          "Enable Fast detection";
5212                        leaf minimum-interval {4957                        leaf minimum-interval {
5213                          type uint32 {4958                          type uint32 {
5214                            range "3..30000" {4959                            range "3..30000" {
5215                              description4960                              description
5216                                "interval in milli-seconds";4961                                "interval in milli-seconds";
5217                            }4962                            }
5218                          }4963                          }
5219                          description4964                          description
5220                            "Hello interval";4965                            "Hello interval";
5221                        }4966                        }
5222                        leaf multiplier {4967                        leaf multiplier {
5223                          type uint32 {4968                          type uint32 {
5224                            range "1..10" {4969                            range "1..10" {
5225                              description4970                              description
5226                                "Detect multiplier";4971                                "Detect multiplier";
5227                            }4972                            }
5228                          }4973                          }
5229                          description4974                          description
5230                            "Detect multiplier";4975                            "Detect multiplier";
5231                        }4976                        }
5232                        container multihop {4977                        container multihop {
5233                          presence "Indicates a multihop node is configured.";4978                          presence "Indicates a multihop node is configured.";
5234                          description4979                          description
5235                            "Enable BFD Multihop";4980                            "Enable BFD Multihop";
5236                          leaf address {4981                          leaf address {
5237                            type inet:ipv6-address-no-zone;4982                            type inet:ipv6-address-no-zone;
5238                            mandatory true;4983                            mandatory true;
5239                            description4984                            description
5240                              "Source address";4985                              "Source address";
5241                          }4986                          }
5242                        }4987                        }
5243                      }4988                      }
5244                    }4989                    }
5245                    leaf distance-metric {4990                    leaf distance-metric {
5246                      type uint32 {4991                      type uint32 {
5247                        range "1..254" {4992                        range "1..254" {
5248                          description4993                          description
5249                            "Distance metric for this route";4994                            "Distance metric for this route";
5250                        }4995                        }
5251                      }4996                      }
5252                      description4997                      description
5253                        "Distance metric for this route";4998                        "Distance metric for this route";
5254                    }4999                    }
5255                    leaf tag {5000                    leaf tag {
5256                      type uint32 {5001                      type uint32 {
5257                        range "1..4294967295" {5002                        range "1..4294967295" {
5258                          description5003                          description
5259                            "Set tag for this route";5004                            "Set tag for this route";
5260                        }5005                        }
5261                      }5006                      }
5262                      description5007                      description
5263                        "Set tag for this route";5008                        "Set tag for this route";
5264                    }5009                    }
5265                    container permanent {5010                    container permanent {
5266                      presence "Indicates a permanent node is configured.";5011                      presence "Indicates a permanent node is configured.";
5267                      description5012                      description
5268                        "Permanent route";5013                        "Permanent route";
5269                    }5014                    }
5270                    leaf vrflabel {5015                    leaf vrflabel {
5271                      type uint32 {5016                      type uint32 {
5272                        range "0..4294967295" {5017                        range "0..4294967295" {
5273                          description5018                          description
5274                            "VRF label";5019                            "VRF label";
5275                        }5020                        }
5276                      }5021                      }
5277                      description5022                      description
5278                        "VRF label";5023                        "VRF label";
5279                    }5024                    }
5280                    leaf tunnel-id {5025                    leaf tunnel-id {
5281                      type uint32 {5026                      type uint32 {
5282                        range "0..4294967295" {5027                        range "0..4294967295" {
5283                          description5028                          description
5284                            "Tunnel ID";5029                            "Tunnel ID";
5285                        }5030                        }
5286                      }5031                      }
5287                      description5032                      description
5288                        "Tunnel ID";5033                        "Tunnel ID";
5289                    }5034                    }
5290                    leaf description {5035                    leaf description {
5291                      type string {5036                      type string {
5292                        length "1..30" {5037                        length "1..30" {
5293                          description5038                          description
5294                            "short description of static route";5039                            "short description of static route";
5295                        }5040                        }
5296                      }5041                      }
5297                      description5042                      description
5298                        "description of the static route";5043                        "description of the static route";
5299                    }5044                    }
5300                    leaf track {5045                    leaf track {
5301                      type xr:Cisco-ios-xr-string {5046                      type xr:Cisco-ios-xr-string {
5302                        length "1..32" {5047                        length "1..32" {
5303                          description5048                          description
5304                            "Object to be tracked";5049                            "Object to be tracked";
5305                        }5050                        }
5306                      }5051                      }
5307                      description5052                      description
5308                        "Enable object tracking for static route";5053                        "Enable object tracking for static route";
5309                    }5054                    }
5310                    leaf metric {5055                    leaf metric {
5311                      type uint32 {5056                      type uint32 {
5312                        range "1..16777214" {5057                        range "1..16777214" {
5313                          description5058                          description
5314                            "Set metric for this route";5059                            "Set metric for this route";
5315                        }5060                        }
5316                      }5061                      }
5317                      description5062                      description
5318                        "Set metric for this route";5063                        "Set metric for this route";
5319                    }5064                    }
n5320                    leaf algorithm {n
5321                      type uint32 {
5322                        range "128..255" {
5323                          description
5324                            "Set algorithm value for this route";
5325                        }
5326                      }
5327                      description
5328                        "Set algorithm value for this route";
5329                    }
5330                    container prefer-rib-over-ldp {5065                    container prefer-rib-over-ldp {
5331                      presence "Indicates a prefer-rib-over-ldp node is configured.";5066                      presence "Indicates a prefer-rib-over-ldp node is configured.";
5332                      description5067                      description
5333                        "Flag passed to rib to prefer rib over ldp";5068                        "Flag passed to rib to prefer rib over ldp";
5334                    }5069                    }
5335                  }5070                  }
5336                  list nexthop-address-segment-routing {5071                  list nexthop-address-segment-routing {
5337                    key "address mpls-path-name";5072                    key "address mpls-path-name";
5338                    description5073                    description
5339                      "Forwarding router's address";5074                      "Forwarding router's address";
5340                    leaf address {5075                    leaf address {
5341                      type inet:ipv6-address-no-zone;5076                      type inet:ipv6-address-no-zone;
5342                      description5077                      description
5343                        "Forwarding router's address";5078                        "Forwarding router's address";
5344                    }5079                    }
5345                    leaf mpls-path-name {5080                    leaf mpls-path-name {
5346                      type xr:Cisco-ios-xr-string {5081                      type xr:Cisco-ios-xr-string {
5347                        length "1..1024" {5082                        length "1..1024" {
5348                          description5083                          description
5349                            "Path name";5084                            "Path name";
5350                        }5085                        }
5351                      }5086                      }
5352                      description5087                      description
5353                        "Configure path name";5088                        "Configure path name";
5354                    }5089                    }
5355                    leaf distance-metric {5090                    leaf distance-metric {
5356                      type uint32 {5091                      type uint32 {
5357                        range "1..254" {5092                        range "1..254" {
5358                          description5093                          description
5359                            "Distance metric for this route";5094                            "Distance metric for this route";
5360                        }5095                        }
5361                      }5096                      }
5362                      description5097                      description
5363                        "Distance metric for this route";5098                        "Distance metric for this route";
5364                    }5099                    }
5365                    leaf tag {5100                    leaf tag {
5366                      type uint32 {5101                      type uint32 {
5367                        range "1..4294967295" {5102                        range "1..4294967295" {
5368                          description5103                          description
5369                            "Set tag for this route";5104                            "Set tag for this route";
5370                        }5105                        }
5371                      }5106                      }
5372                      description5107                      description
5373                        "Set tag for this route";5108                        "Set tag for this route";
5374                    }5109                    }
5375                    leaf description {5110                    leaf description {
5376                      type string {5111                      type string {
5377                        length "1..30" {5112                        length "1..30" {
5378                          description5113                          description
5379                            "short description of static route";5114                            "short description of static route";
5380                        }5115                        }
5381                      }5116                      }
5382                      description5117                      description
5383                        "description of the static route";5118                        "description of the static route";
5384                    }5119                    }
5385                    leaf metric {5120                    leaf metric {
5386                      type uint32 {5121                      type uint32 {
5387                        range "1..16777214" {5122                        range "1..16777214" {
5388                          description5123                          description
5389                            "Set metric for this route";5124                            "Set metric for this route";
5390                        }5125                        }
5391                      }5126                      }
5392                      description5127                      description
5393                        "Set metric for this route";5128                        "Set metric for this route";
n5394                    }n
5395                    leaf algorithm {
5396                      type uint32 {
5397                        range "128..255" {
5398                          description
5399                            "Set algorithm value for this route";
5400                        }
5401                      }
5402                      description
5403                        "Set algorithm value for this route";
5404                    }5129                    }
5405                  }5130                  }
5406                }5131                }
5407                container vrfs {5132                container vrfs {
5408                  description5133                  description
5409                    "Destination VRF";5134                    "Destination VRF";
5410                  list vrf-only {5135                  list vrf-only {
5411                    key "vrf-name";5136                    key "vrf-name";
5412                    description5137                    description
5413                      "Destination only VRF";5138                      "Destination only VRF";
5414                    leaf vrf-name {5139                    leaf vrf-name {
5415                      type xr:Cisco-ios-xr-string {5140                      type xr:Cisco-ios-xr-string {
5416                        length "1..32" {5141                        length "1..32" {
5417                          description5142                          description
5418                            "VRF name";5143                            "VRF name";
5419                        }5144                        }
5420                      }5145                      }
5421                      description5146                      description
5422                        "Destination VRF";5147                        "Destination VRF";
n5423                    }n
5424                    leaf description {
5425                      type string {
5426                        length "1..254" {
5427                          description
5428                            "short description of static route";
5429                        }
5430                      }
5431                      description
5432                        "description of the static route";
5433                    }
5434                    leaf algorithm {
5435                      type uint32 {
5436                        range "128..255" {
5437                          description
5438                            "Set algorithm value for this route";
5439                        }
5440                      }
5441                      description
5442                        "Set algorithm value for this route";
5443                    }5148                    }
5444                  }5149                  }
5445                  list vrf {5150                  list vrf {
5446                    must5151                    must
5447                      "sr-policies/sr-policy or5152                      "sr-policies/sr-policy or
5448                       nexthop-interfaces/nexthop-interface or5153                       nexthop-interfaces/nexthop-interface or
5449                       nexthop-interface-addresses/nexthop-interface-address or5154                       nexthop-interface-addresses/nexthop-interface-address or
5450                       nexthop-addresses/nexthop-address";5155                       nexthop-addresses/nexthop-address";
5451                    key "vrf-name";5156                    key "vrf-name";
5452                    description5157                    description
5453                      "Destination VRF";5158                      "Destination VRF";
5454                    leaf vrf-name {5159                    leaf vrf-name {
5455                      type xr:Cisco-ios-xr-string {5160                      type xr:Cisco-ios-xr-string {
5456                        length "1..32" {5161                        length "1..32" {
5457                          description5162                          description
5458                            "VRF name";5163                            "VRF name";
5459                        }5164                        }
5460                      }5165                      }
5461                      description5166                      description
5462                        "Destination VRF";5167                        "Destination VRF";
5463                    }5168                    }
5464                    container sr-policies {5169                    container sr-policies {
5465                      description5170                      description
5466                        "segment routing policy";5171                        "segment routing policy";
5467                      list sr-policy {5172                      list sr-policy {
5468                        key "sr-policy-name";5173                        key "sr-policy-name";
5469                        description5174                        description
5470                          "segment routing policy";5175                          "segment routing policy";
5471                        leaf sr-policy-name {5176                        leaf sr-policy-name {
5472                          type xr:Cisco-ios-xr-string {5177                          type xr:Cisco-ios-xr-string {
5473                            length "1..1024" {5178                            length "1..1024" {
5474                              description5179                              description
5475                                "SR policy name";5180                                "SR policy name";
5476                            }5181                            }
5477                          }5182                          }
5478                          description5183                          description
5479                            "segment routing policy";5184                            "segment routing policy";
5480                        }5185                        }
5481                        leaf distance-metric {5186                        leaf distance-metric {
5482                          type uint32 {5187                          type uint32 {
5483                            range "1..254" {5188                            range "1..254" {
5484                              description5189                              description
5485                                "Distance metric for this route";5190                                "Distance metric for this route";
5486                            }5191                            }
5487                          }5192                          }
5488                          description5193                          description
5489                            "Distance metric for this route";5194                            "Distance metric for this route";
5490                        }5195                        }
5491                        leaf tag {5196                        leaf tag {
5492                          type uint32 {5197                          type uint32 {
5493                            range "1..4294967295" {5198                            range "1..4294967295" {
5494                              description5199                              description
5495                                "Set tag for this route";5200                                "Set tag for this route";
5496                            }5201                            }
5497                          }5202                          }
5498                          description5203                          description
5499                            "Set tag for this route";5204                            "Set tag for this route";
5500                        }5205                        }
5501                        container permanent {5206                        container permanent {
5502                          presence "Indicates a permanent node is configured.";5207                          presence "Indicates a permanent node is configured.";
5503                          description5208                          description
5504                            "Permanent route";5209                            "Permanent route";
5505                        }5210                        }
5506                        leaf vrflabel {5211                        leaf vrflabel {
5507                          type uint32 {5212                          type uint32 {
5508                            range "0..4294967295" {5213                            range "0..4294967295" {
5509                              description5214                              description
5510                                "VRF label";5215                                "VRF label";
5511                            }5216                            }
5512                          }5217                          }
5513                          description5218                          description
5514                            "VRF label";5219                            "VRF label";
5515                        }5220                        }
5516                        leaf tunnel-id {5221                        leaf tunnel-id {
5517                          type uint32 {5222                          type uint32 {
5518                            range "0..4294967295" {5223                            range "0..4294967295" {
5519                              description5224                              description
5520                                "Tunnel ID";5225                                "Tunnel ID";
5521                            }5226                            }
5522                          }5227                          }
5523                          description5228                          description
5524                            "Tunnel ID";5229                            "Tunnel ID";
5525                        }5230                        }
5526                        leaf description {5231                        leaf description {
5527                          type string {5232                          type string {
5528                            length "1..30" {5233                            length "1..30" {
5529                              description5234                              description
5530                                "short description of static route";5235                                "short description of static route";
5531                            }5236                            }
5532                          }5237                          }
5533                          description5238                          description
5534                            "description of the static route";5239                            "description of the static route";
5535                        }5240                        }
5536                        leaf track {5241                        leaf track {
5537                          type xr:Cisco-ios-xr-string {5242                          type xr:Cisco-ios-xr-string {
5538                            length "1..32" {5243                            length "1..32" {
5539                              description5244                              description
5540                                "Object to be tracked";5245                                "Object to be tracked";
5541                            }5246                            }
5542                          }5247                          }
5543                          description5248                          description
5544                            "Enable object tracking for static route";5249                            "Enable object tracking for static route";
5545                        }5250                        }
5546                        leaf metric {5251                        leaf metric {
5547                          type uint32 {5252                          type uint32 {
5548                            range "1..16777214" {5253                            range "1..16777214" {
5549                              description5254                              description
5550                                "Set metric for this route";5255                                "Set metric for this route";
5551                            }5256                            }
5552                          }5257                          }
5553                          description5258                          description
5554                            "Set metric for this route";5259                            "Set metric for this route";
5555                        }5260                        }
n5556                        leaf algorithm {n
5557                          type uint32 {
5558                            range "128..255" {
5559                              description
5560                                "Set algorithm value for this route";
5561                            }
5562                          }
5563                          description
5564                            "Set algorithm value for this route";
5565                        }
5566                        container prefer-rib-over-ldp {5261                        container prefer-rib-over-ldp {
5567                          presence "Indicates a prefer-rib-over-ldp node is configured.";5262                          presence "Indicates a prefer-rib-over-ldp node is configured.";
5568                          description5263                          description
5569                            "Flag passed to rib to prefer rib over ldp";5264                            "Flag passed to rib to prefer rib over ldp";
5570                        }5265                        }
5571                      }5266                      }
5572                    }5267                    }
5573                    container nexthop-interfaces {5268                    container nexthop-interfaces {
5574                      description5269                      description
5575                        "Forwarding interface";5270                        "Forwarding interface";
5576                      list nexthop-interface {5271                      list nexthop-interface {
5577                        key "interface-name";5272                        key "interface-name";
5578                        description5273                        description
5579                          "Forwarding interface";5274                          "Forwarding interface";
5580                        leaf interface-name {5275                        leaf interface-name {
5581                          type xr:Interface-name;5276                          type xr:Interface-name;
5582                          description5277                          description
5583                            "Forwarding interface";5278                            "Forwarding interface";
5584                        }5279                        }
5585                        leaf distance-metric {5280                        leaf distance-metric {
5586                          type uint32 {5281                          type uint32 {
5587                            range "1..254" {5282                            range "1..254" {
5588                              description5283                              description
5589                                "Distance metric for this route";5284                                "Distance metric for this route";
5590                            }5285                            }
5591                          }5286                          }
5592                          description5287                          description
5593                            "Distance metric for this route";5288                            "Distance metric for this route";
5594                        }5289                        }
5595                        leaf tag {5290                        leaf tag {
5596                          type uint32 {5291                          type uint32 {
5597                            range "1..4294967295" {5292                            range "1..4294967295" {
5598                              description5293                              description
5599                                "Set tag for this route";5294                                "Set tag for this route";
5600                            }5295                            }
5601                          }5296                          }
5602                          description5297                          description
5603                            "Set tag for this route";5298                            "Set tag for this route";
5604                        }5299                        }
5605                        container permanent {5300                        container permanent {
5606                          presence "Indicates a permanent node is configured.";5301                          presence "Indicates a permanent node is configured.";
5607                          description5302                          description
5608                            "Permanent route";5303                            "Permanent route";
5609                        }5304                        }
5610                        leaf vrflabel {5305                        leaf vrflabel {
5611                          type uint32 {5306                          type uint32 {
5612                            range "0..4294967295" {5307                            range "0..4294967295" {
5613                              description5308                              description
5614                                "VRF label";5309                                "VRF label";
5615                            }5310                            }
5616                          }5311                          }
5617                          description5312                          description
5618                            "VRF label";5313                            "VRF label";
5619                        }5314                        }
5620                        leaf tunnel-id {5315                        leaf tunnel-id {
5621                          type uint32 {5316                          type uint32 {
5622                            range "0..4294967295" {5317                            range "0..4294967295" {
5623                              description5318                              description
5624                                "Tunnel ID";5319                                "Tunnel ID";
5625                            }5320                            }
5626                          }5321                          }
5627                          description5322                          description
5628                            "Tunnel ID";5323                            "Tunnel ID";
5629                        }5324                        }
5630                        leaf description {5325                        leaf description {
5631                          type string {5326                          type string {
5632                            length "1..30" {5327                            length "1..30" {
5633                              description5328                              description
5634                                "short description of static route";5329                                "short description of static route";
5635                            }5330                            }
5636                          }5331                          }
5637                          description5332                          description
5638                            "description of the static route";5333                            "description of the static route";
5639                        }5334                        }
5640                        leaf track {5335                        leaf track {
5641                          type xr:Cisco-ios-xr-string {5336                          type xr:Cisco-ios-xr-string {
5642                            length "1..32" {5337                            length "1..32" {
5643                              description5338                              description
5644                                "Object to be tracked";5339                                "Object to be tracked";
5645                            }5340                            }
5646                          }5341                          }
5647                          description5342                          description
5648                            "Enable object tracking for static route";5343                            "Enable object tracking for static route";
5649                        }5344                        }
5650                        leaf metric {5345                        leaf metric {
5651                          type uint32 {5346                          type uint32 {
5652                            range "1..16777214" {5347                            range "1..16777214" {
5653                              description5348                              description
5654                                "Set metric for this route";5349                                "Set metric for this route";
5655                            }5350                            }
5656                          }5351                          }
5657                          description5352                          description
5658                            "Set metric for this route";5353                            "Set metric for this route";
5659                        }5354                        }
n5660                        leaf algorithm {n
5661                          type uint32 {
5662                            range "128..255" {
5663                              description
5664                                "Set algorithm value for this route";
5665                            }
5666                          }
5667                          description
5668                            "Set algorithm value for this route";
5669                        }
5670                        container prefer-rib-over-ldp {5355                        container prefer-rib-over-ldp {
5671                          presence "Indicates a prefer-rib-over-ldp node is configured.";5356                          presence "Indicates a prefer-rib-over-ldp node is configured.";
5672                          description5357                          description
5673                            "Flag passed to rib to prefer rib over ldp";5358                            "Flag passed to rib to prefer rib over ldp";
5674                        }5359                        }
5675                      }5360                      }
5676                    }5361                    }
5677                    container nexthop-interface-addresses {5362                    container nexthop-interface-addresses {
5678                      description5363                      description
5679                        "Forwarding interface";5364                        "Forwarding interface";
5680                      list nexthop-interface-address {5365                      list nexthop-interface-address {
5681                        key "interface-name address";5366                        key "interface-name address";
5682                        description5367                        description
5683                          "Forwarding interface";5368                          "Forwarding interface";
5684                        leaf interface-name {5369                        leaf interface-name {
5685                          type xr:Interface-name;5370                          type xr:Interface-name;
5686                          description5371                          description
5687                            "Forwarding interface";5372                            "Forwarding interface";
5688                        }5373                        }
5689                        leaf address {5374                        leaf address {
5690                          type inet:ipv6-address-no-zone;5375                          type inet:ipv6-address-no-zone;
5691                          description5376                          description
5692                            "Forwarding router's address";5377                            "Forwarding router's address";
5693                        }5378                        }
5694                        container bfd {5379                        container bfd {
5695                          description5380                          description
5696                            "Configure BFD paramenters";5381                            "Configure BFD paramenters";
5697                          container fast-detect {5382                          container fast-detect {
5698                            presence "Indicates a fast-detect node is configured.";5383                            presence "Indicates a fast-detect node is configured.";
5699                            description5384                            description
5700                              "Enable Fast detection";5385                              "Enable Fast detection";
5701                            leaf minimum-interval {5386                            leaf minimum-interval {
5702                              type uint32 {5387                              type uint32 {
5703                                range "3..30000" {5388                                range "3..30000" {
5704                                  description5389                                  description
5705                                    "interval in milli-seconds";5390                                    "interval in milli-seconds";
5706                                }5391                                }
5707                              }5392                              }
5708                              description5393                              description
5709                                "Hello interval";5394                                "Hello interval";
5710                            }5395                            }
5711                            leaf multiplier {5396                            leaf multiplier {
5712                              type uint32 {5397                              type uint32 {
5713                                range "1..10" {5398                                range "1..10" {
5714                                  description5399                                  description
5715                                    "Detect multiplier";5400                                    "Detect multiplier";
5716                                }5401                                }
5717                              }5402                              }
5718                              description5403                              description
5719                                "Detect multiplier";5404                                "Detect multiplier";
5720                            }5405                            }
5721                          }5406                          }
5722                        }5407                        }
5723                        leaf distance-metric {5408                        leaf distance-metric {
5724                          type uint32 {5409                          type uint32 {
5725                            range "1..254" {5410                            range "1..254" {
5726                              description5411                              description
5727                                "Distance metric for this route";5412                                "Distance metric for this route";
5728                            }5413                            }
5729                          }5414                          }
5730                          description5415                          description
5731                            "Distance metric for this route";5416                            "Distance metric for this route";
5732                        }5417                        }
5733                        leaf tag {5418                        leaf tag {
5734                          type uint32 {5419                          type uint32 {
5735                            range "1..4294967295" {5420                            range "1..4294967295" {
5736                              description5421                              description
5737                                "Set tag for this route";5422                                "Set tag for this route";
5738                            }5423                            }
5739                          }5424                          }
5740                          description5425                          description
5741                            "Set tag for this route";5426                            "Set tag for this route";
5742                        }5427                        }
5743                        container permanent {5428                        container permanent {
5744                          presence "Indicates a permanent node is configured.";5429                          presence "Indicates a permanent node is configured.";
5745                          description5430                          description
5746                            "Permanent route";5431                            "Permanent route";
5747                        }5432                        }
5748                        leaf vrflabel {5433                        leaf vrflabel {
5749                          type uint32 {5434                          type uint32 {
5750                            range "0..4294967295" {5435                            range "0..4294967295" {
5751                              description5436                              description
5752                                "VRF label";5437                                "VRF label";
5753                            }5438                            }
5754                          }5439                          }
5755                          description5440                          description
5756                            "VRF label";5441                            "VRF label";
5757                        }5442                        }
5758                        leaf tunnel-id {5443                        leaf tunnel-id {
5759                          type uint32 {5444                          type uint32 {
5760                            range "0..4294967295" {5445                            range "0..4294967295" {
5761                              description5446                              description
5762                                "Tunnel ID";5447                                "Tunnel ID";
5763                            }5448                            }
5764                          }5449                          }
5765                          description5450                          description
5766                            "Tunnel ID";5451                            "Tunnel ID";
5767                        }5452                        }
5768                        leaf description {5453                        leaf description {
5769                          type string {5454                          type string {
5770                            length "1..30" {5455                            length "1..30" {
5771                              description5456                              description
5772                                "short description of static route";5457                                "short description of static route";
5773                            }5458                            }
5774                          }5459                          }
5775                          description5460                          description
5776                            "description of the static route";5461                            "description of the static route";
5777                        }5462                        }
5778                        leaf track {5463                        leaf track {
5779                          type xr:Cisco-ios-xr-string {5464                          type xr:Cisco-ios-xr-string {
5780                            length "1..32" {5465                            length "1..32" {
5781                              description5466                              description
5782                                "Object to be tracked";5467                                "Object to be tracked";
5783                            }5468                            }
5784                          }5469                          }
5785                          description5470                          description
5786                            "Enable object tracking for static route";5471                            "Enable object tracking for static route";
5787                        }5472                        }
5788                        leaf metric {5473                        leaf metric {
5789                          type uint32 {5474                          type uint32 {
5790                            range "1..16777214" {5475                            range "1..16777214" {
5791                              description5476                              description
5792                                "Set metric for this route";5477                                "Set metric for this route";
5793                            }5478                            }
5794                          }5479                          }
5795                          description5480                          description
5796                            "Set metric for this route";5481                            "Set metric for this route";
5797                        }5482                        }
n5798                        leaf algorithm {n
5799                          type uint32 {
5800                            range "128..255" {
5801                              description
5802                                "Set algorithm value for this route";
5803                            }
5804                          }
5805                          description
5806                            "Set algorithm value for this route";
5807                        }
5808                        container prefer-rib-over-ldp {5483                        container prefer-rib-over-ldp {
5809                          presence "Indicates a prefer-rib-over-ldp node is configured.";5484                          presence "Indicates a prefer-rib-over-ldp node is configured.";
5810                          description5485                          description
5811                            "Flag passed to rib to prefer rib over ldp";5486                            "Flag passed to rib to prefer rib over ldp";
5812                        }5487                        }
5813                      }5488                      }
5814                    }5489                    }
5815                    container nexthop-addresses {5490                    container nexthop-addresses {
5816                      description5491                      description
5817                        "Forwarding router's address";5492                        "Forwarding router's address";
5818                      list nexthop-address {5493                      list nexthop-address {
5819                        key "address";5494                        key "address";
5820                        description5495                        description
5821                          "Forwarding router's address";5496                          "Forwarding router's address";
5822                        leaf address {5497                        leaf address {
5823                          type inet:ipv6-address-no-zone;5498                          type inet:ipv6-address-no-zone;
5824                          description5499                          description
5825                            "Forwarding router's address";5500                            "Forwarding router's address";
5826                        }5501                        }
5827                        container bfd {5502                        container bfd {
5828                          description5503                          description
5829                            "Configure BFD paramenters";5504                            "Configure BFD paramenters";
5830                          container fast-detect {5505                          container fast-detect {
5831                            presence "Indicates a fast-detect node is configured.";5506                            presence "Indicates a fast-detect node is configured.";
5832                            description5507                            description
5833                              "Enable Fast detection";5508                              "Enable Fast detection";
5834                            leaf minimum-interval {5509                            leaf minimum-interval {
5835                              type uint32 {5510                              type uint32 {
5836                                range "3..30000" {5511                                range "3..30000" {
5837                                  description5512                                  description
5838                                    "interval in milli-seconds";5513                                    "interval in milli-seconds";
5839                                }5514                                }
5840                              }5515                              }
5841                              description5516                              description
5842                                "Hello interval";5517                                "Hello interval";
5843                            }5518                            }
5844                            leaf multiplier {5519                            leaf multiplier {
5845                              type uint32 {5520                              type uint32 {
5846                                range "1..10" {5521                                range "1..10" {
5847                                  description5522                                  description
5848                                    "Detect multiplier";5523                                    "Detect multiplier";
5849                                }5524                                }
5850                              }5525                              }
5851                              description5526                              description
5852                                "Detect multiplier";5527                                "Detect multiplier";
5853                            }5528                            }
5854                            container multihop {5529                            container multihop {
5855                              presence "Indicates a multihop node is configured.";5530                              presence "Indicates a multihop node is configured.";
5856                              description5531                              description
5857                                "Enable BFD Multihop";5532                                "Enable BFD Multihop";
5858                              leaf address {5533                              leaf address {
5859                                type inet:ipv6-address-no-zone;5534                                type inet:ipv6-address-no-zone;
5860                                mandatory true;5535                                mandatory true;
5861                                description5536                                description
5862                                  "Source address";5537                                  "Source address";
5863                              }5538                              }
5864                            }5539                            }
5865                          }5540                          }
5866                        }5541                        }
5867                        leaf distance-metric {5542                        leaf distance-metric {
5868                          type uint32 {5543                          type uint32 {
5869                            range "1..254" {5544                            range "1..254" {
5870                              description5545                              description
5871                                "Distance metric for this route";5546                                "Distance metric for this route";
5872                            }5547                            }
5873                          }5548                          }
5874                          description5549                          description
5875                            "Distance metric for this route";5550                            "Distance metric for this route";
5876                        }5551                        }
5877                        leaf tag {5552                        leaf tag {
5878                          type uint32 {5553                          type uint32 {
5879                            range "1..4294967295" {5554                            range "1..4294967295" {
5880                              description5555                              description
5881                                "Set tag for this route";5556                                "Set tag for this route";
5882                            }5557                            }
5883                          }5558                          }
5884                          description5559                          description
5885                            "Set tag for this route";5560                            "Set tag for this route";
5886                        }5561                        }
5887                        container permanent {5562                        container permanent {
5888                          presence "Indicates a permanent node is configured.";5563                          presence "Indicates a permanent node is configured.";
5889                          description5564                          description
5890                            "Permanent route";5565                            "Permanent route";
5891                        }5566                        }
5892                        leaf vrflabel {5567                        leaf vrflabel {
5893                          type uint32 {5568                          type uint32 {
5894                            range "0..4294967295" {5569                            range "0..4294967295" {
5895                              description5570                              description
5896                                "VRF label";5571                                "VRF label";
5897                            }5572                            }
5898                          }5573                          }
5899                          description5574                          description
5900                            "VRF label";5575                            "VRF label";
5901                        }5576                        }
5902                        leaf tunnel-id {5577                        leaf tunnel-id {
5903                          type uint32 {5578                          type uint32 {
5904                            range "0..4294967295" {5579                            range "0..4294967295" {
5905                              description5580                              description
5906                                "Tunnel ID";5581                                "Tunnel ID";
5907                            }5582                            }
5908                          }5583                          }
5909                          description5584                          description
5910                            "Tunnel ID";5585                            "Tunnel ID";
5911                        }5586                        }
5912                        leaf description {5587                        leaf description {
5913                          type string {5588                          type string {
5914                            length "1..30" {5589                            length "1..30" {
5915                              description5590                              description
5916                                "short description of static route";5591                                "short description of static route";
5917                            }5592                            }
5918                          }5593                          }
5919                          description5594                          description
5920                            "description of the static route";5595                            "description of the static route";
5921                        }5596                        }
5922                        leaf track {5597                        leaf track {
5923                          type xr:Cisco-ios-xr-string {5598                          type xr:Cisco-ios-xr-string {
5924                            length "1..32" {5599                            length "1..32" {
5925                              description5600                              description
5926                                "Object to be tracked";5601                                "Object to be tracked";
5927                            }5602                            }
5928                          }5603                          }
5929                          description5604                          description
5930                            "Enable object tracking for static route";5605                            "Enable object tracking for static route";
5931                        }5606                        }
5932                        leaf metric {5607                        leaf metric {
5933                          type uint32 {5608                          type uint32 {
5934                            range "1..16777214" {5609                            range "1..16777214" {
5935                              description5610                              description
5936                                "Set metric for this route";5611                                "Set metric for this route";
5937                            }5612                            }
5938                          }5613                          }
5939                          description5614                          description
5940                            "Set metric for this route";5615                            "Set metric for this route";
n5941                        }n
5942                        leaf algorithm {
5943                          type uint32 {
5944                            range "128..255" {
5945                              description
5946                                "Set algorithm value for this route";
5947                            }
5948                          }
5949                          description
5950                            "Set algorithm value for this route";
5951                        }5616                        }
5952                        container prefer-rib-over-ldp {5617                        container prefer-rib-over-ldp {
5953                          presence "Indicates a prefer-rib-over-ldp node is configured.";5618                          presence "Indicates a prefer-rib-over-ldp node is configured.";
5954                          description5619                          description
5955                            "Flag passed to rib to prefer rib over ldp";5620                            "Flag passed to rib to prefer rib over ldp";
5956                        }5621                        }
5957                      }5622                      }
5958                    }5623                    }
5959                  }5624                  }
5960                }5625                }
5961              }5626              }
5962            }5627            }
5963            container topologies {5628            container topologies {
5964              description5629              description
5965                "Topology static route configuration subcommands";5630                "Topology static route configuration subcommands";
5966              list topology {5631              list topology {
5967                key "topology-name";5632                key "topology-name";
5968                description5633                description
5969                  "Topology static route configuration subcommands";5634                  "Topology static route configuration subcommands";
5970                leaf topology-name {5635                leaf topology-name {
5971                  type xr:Cisco-ios-xr-string {5636                  type xr:Cisco-ios-xr-string {
5972                    length "1..63" {5637                    length "1..63" {
5973                      description5638                      description
5974                        "Topology name";5639                        "Topology name";
5975                    }5640                    }
5976                  }5641                  }
5977                  description5642                  description
5978                    "Topology static route configuration subcommands";5643                    "Topology static route configuration subcommands";
5979                }5644                }
5980                container prefixes {5645                container prefixes {
5981                  description5646                  description
5982                    "Destination prefix";5647                    "Destination prefix";
5983                  list prefix {5648                  list prefix {
5984                    must5649                    must
5985                      "sr-policies/sr-policy or5650                      "sr-policies/sr-policy or
5986                       nexthop-interfaces/nexthop-interface or5651                       nexthop-interfaces/nexthop-interface or
5987                       nexthop-interface-addresses/nexthop-interface-address or5652                       nexthop-interface-addresses/nexthop-interface-address or
5988                       nexthop-addresses/nexthop-address or5653                       nexthop-addresses/nexthop-address or
5989                       nexthop-addresses/nexthop-address-segment-routing or5654                       nexthop-addresses/nexthop-address-segment-routing or
5990                       vrfs/vrf-only or vrfs/vrf/sr-policies/sr-policy or5655                       vrfs/vrf-only or vrfs/vrf/sr-policies/sr-policy or
5991                       vrfs/vrf/nexthop-interfaces/nexthop-interface or5656                       vrfs/vrf/nexthop-interfaces/nexthop-interface or
5992                       vrfs/vrf/nexthop-interface-addresses/nexthop-interface-address or5657                       vrfs/vrf/nexthop-interface-addresses/nexthop-interface-address or
5993                       vrfs/vrf/nexthop-addresses/nexthop-address";5658                       vrfs/vrf/nexthop-addresses/nexthop-address";
5994                    key "prefix-address prefix-length";5659                    key "prefix-address prefix-length";
5995                    description5660                    description
5996                      "Destination prefix";5661                      "Destination prefix";
5997                    leaf prefix-address {5662                    leaf prefix-address {
5998                      type inet:ipv6-address-no-zone;5663                      type inet:ipv6-address-no-zone;
5999                      description5664                      description
6000                        "Destination prefix";5665                        "Destination prefix";
6001                    }5666                    }
6002                    leaf prefix-length {5667                    leaf prefix-length {
6003                      type uint32 {5668                      type uint32 {
6004                        range "0..128";5669                        range "0..128";
6005                      }5670                      }
6006                      description5671                      description
6007                        "Destination prefix length";5672                        "Destination prefix length";
6008                    }5673                    }
6009                    container sr-policies {5674                    container sr-policies {
6010                      description5675                      description
6011                        "segment routing policy";5676                        "segment routing policy";
6012                      list sr-policy {5677                      list sr-policy {
6013                        key "sr-policy-name";5678                        key "sr-policy-name";
6014                        description5679                        description
6015                          "segment routing policy";5680                          "segment routing policy";
6016                        leaf sr-policy-name {5681                        leaf sr-policy-name {
6017                          type xr:Cisco-ios-xr-string {5682                          type xr:Cisco-ios-xr-string {
6018                            length "1..1024" {5683                            length "1..1024" {
6019                              description5684                              description
6020                                "SR policy name";5685                                "SR policy name";
6021                            }5686                            }
6022                          }5687                          }
6023                          description5688                          description
6024                            "segment routing policy";5689                            "segment routing policy";
6025                        }5690                        }
6026                        leaf distance-metric {5691                        leaf distance-metric {
6027                          type uint32 {5692                          type uint32 {
6028                            range "1..254" {5693                            range "1..254" {
6029                              description5694                              description
6030                                "Distance metric for this route";5695                                "Distance metric for this route";
6031                            }5696                            }
6032                          }5697                          }
6033                          description5698                          description
6034                            "Distance metric for this route";5699                            "Distance metric for this route";
6035                        }5700                        }
6036                        leaf tag {5701                        leaf tag {
6037                          type uint32 {5702                          type uint32 {
6038                            range "1..4294967295" {5703                            range "1..4294967295" {
6039                              description5704                              description
6040                                "Set tag for this route";5705                                "Set tag for this route";
6041                            }5706                            }
6042                          }5707                          }
6043                          description5708                          description
6044                            "Set tag for this route";5709                            "Set tag for this route";
6045                        }5710                        }
6046                        container permanent {5711                        container permanent {
6047                          presence "Indicates a permanent node is configured.";5712                          presence "Indicates a permanent node is configured.";
6048                          description5713                          description
6049                            "Permanent route";5714                            "Permanent route";
6050                        }5715                        }
6051                        leaf vrflabel {5716                        leaf vrflabel {
6052                          type uint32 {5717                          type uint32 {
6053                            range "0..4294967295" {5718                            range "0..4294967295" {
6054                              description5719                              description
6055                                "VRF label";5720                                "VRF label";
6056                            }5721                            }
6057                          }5722                          }
6058                          description5723                          description
6059                            "VRF label";5724                            "VRF label";
6060                        }5725                        }
6061                        leaf tunnel-id {5726                        leaf tunnel-id {
6062                          type uint32 {5727                          type uint32 {
6063                            range "0..4294967295" {5728                            range "0..4294967295" {
6064                              description5729                              description
6065                                "Tunnel ID";5730                                "Tunnel ID";
6066                            }5731                            }
6067                          }5732                          }
6068                          description5733                          description
6069                            "Tunnel ID";5734                            "Tunnel ID";
6070                        }5735                        }
6071                        leaf description {5736                        leaf description {
6072                          type string {5737                          type string {
6073                            length "1..30" {5738                            length "1..30" {
6074                              description5739                              description
6075                                "short description of static route";5740                                "short description of static route";
6076                            }5741                            }
6077                          }5742                          }
6078                          description5743                          description
6079                            "description of the static route";5744                            "description of the static route";
6080                        }5745                        }
6081                        leaf track {5746                        leaf track {
6082                          type xr:Cisco-ios-xr-string {5747                          type xr:Cisco-ios-xr-string {
6083                            length "1..32" {5748                            length "1..32" {
6084                              description5749                              description
6085                                "Object to be tracked";5750                                "Object to be tracked";
6086                            }5751                            }
6087                          }5752                          }
6088                          description5753                          description
6089                            "Enable object tracking for static route";5754                            "Enable object tracking for static route";
6090                        }5755                        }
6091                        leaf metric {5756                        leaf metric {
6092                          type uint32 {5757                          type uint32 {
6093                            range "1..16777214" {5758                            range "1..16777214" {
6094                              description5759                              description
6095                                "Set metric for this route";5760                                "Set metric for this route";
6096                            }5761                            }
6097                          }5762                          }
6098                          description5763                          description
6099                            "Set metric for this route";5764                            "Set metric for this route";
6100                        }5765                        }
n6101                        leaf algorithm {n
6102                          type uint32 {
6103                            range "128..255" {
6104                              description
6105                                "Set algorithm value for this route";
6106                            }
6107                          }
6108                          description
6109                            "Set algorithm value for this route";
6110                        }
6111                        container prefer-rib-over-ldp {5766                        container prefer-rib-over-ldp {
6112                          presence "Indicates a prefer-rib-over-ldp node is configured.";5767                          presence "Indicates a prefer-rib-over-ldp node is configured.";
6113                          description5768                          description
6114                            "Flag passed to rib to prefer rib over ldp";5769                            "Flag passed to rib to prefer rib over ldp";
6115                        }5770                        }
6116                      }5771                      }
6117                    }5772                    }
6118                    container nexthop-interfaces {5773                    container nexthop-interfaces {
6119                      description5774                      description
6120                        "Forwarding interface";5775                        "Forwarding interface";
6121                      list nexthop-interface {5776                      list nexthop-interface {
6122                        key "interface-name";5777                        key "interface-name";
6123                        description5778                        description
6124                          "Forwarding interface";5779                          "Forwarding interface";
6125                        leaf interface-name {5780                        leaf interface-name {
6126                          type xr:Interface-name;5781                          type xr:Interface-name;
6127                          description5782                          description
6128                            "Forwarding interface";5783                            "Forwarding interface";
6129                        }5784                        }
6130                        leaf distance-metric {5785                        leaf distance-metric {
6131                          type uint32 {5786                          type uint32 {
6132                            range "1..254" {5787                            range "1..254" {
6133                              description5788                              description
6134                                "Distance metric for this route";5789                                "Distance metric for this route";
6135                            }5790                            }
6136                          }5791                          }
6137                          description5792                          description
6138                            "Distance metric for this route";5793                            "Distance metric for this route";
6139                        }5794                        }
6140                        leaf tag {5795                        leaf tag {
6141                          type uint32 {5796                          type uint32 {
6142                            range "1..4294967295" {5797                            range "1..4294967295" {
6143                              description5798                              description
6144                                "Set tag for this route";5799                                "Set tag for this route";
6145                            }5800                            }
6146                          }5801                          }
6147                          description5802                          description
6148                            "Set tag for this route";5803                            "Set tag for this route";
6149                        }5804                        }
6150                        container permanent {5805                        container permanent {
6151                          presence "Indicates a permanent node is configured.";5806                          presence "Indicates a permanent node is configured.";
6152                          description5807                          description
6153                            "Permanent route";5808                            "Permanent route";
6154                        }5809                        }
6155                        leaf vrflabel {5810                        leaf vrflabel {
6156                          type uint32 {5811                          type uint32 {
6157                            range "0..4294967295" {5812                            range "0..4294967295" {
6158                              description5813                              description
6159                                "VRF label";5814                                "VRF label";
6160                            }5815                            }
6161                          }5816                          }
6162                          description5817                          description
6163                            "VRF label";5818                            "VRF label";
6164                        }5819                        }
6165                        leaf tunnel-id {5820                        leaf tunnel-id {
6166                          type uint32 {5821                          type uint32 {
6167                            range "0..4294967295" {5822                            range "0..4294967295" {
6168                              description5823                              description
6169                                "Tunnel ID";5824                                "Tunnel ID";
6170                            }5825                            }
6171                          }5826                          }
6172                          description5827                          description
6173                            "Tunnel ID";5828                            "Tunnel ID";
6174                        }5829                        }
6175                        leaf description {5830                        leaf description {
6176                          type string {5831                          type string {
6177                            length "1..30" {5832                            length "1..30" {
6178                              description5833                              description
6179                                "short description of static route";5834                                "short description of static route";
6180                            }5835                            }
6181                          }5836                          }
6182                          description5837                          description
6183                            "description of the static route";5838                            "description of the static route";
6184                        }5839                        }
6185                        leaf track {5840                        leaf track {
6186                          type xr:Cisco-ios-xr-string {5841                          type xr:Cisco-ios-xr-string {
6187                            length "1..32" {5842                            length "1..32" {
6188                              description5843                              description
6189                                "Object to be tracked";5844                                "Object to be tracked";
6190                            }5845                            }
6191                          }5846                          }
6192                          description5847                          description
6193                            "Enable object tracking for static route";5848                            "Enable object tracking for static route";
6194                        }5849                        }
6195                        leaf metric {5850                        leaf metric {
6196                          type uint32 {5851                          type uint32 {
6197                            range "1..16777214" {5852                            range "1..16777214" {
6198                              description5853                              description
6199                                "Set metric for this route";5854                                "Set metric for this route";
6200                            }5855                            }
6201                          }5856                          }
6202                          description5857                          description
6203                            "Set metric for this route";5858                            "Set metric for this route";
6204                        }5859                        }
n6205                        leaf algorithm {n
6206                          type uint32 {
6207                            range "128..255" {
6208                              description
6209                                "Set algorithm value for this route";
6210                            }
6211                          }
6212                          description
6213                            "Set algorithm value for this route";
6214                        }
6215                        container prefer-rib-over-ldp {5860                        container prefer-rib-over-ldp {
6216                          presence "Indicates a prefer-rib-over-ldp node is configured.";5861                          presence "Indicates a prefer-rib-over-ldp node is configured.";
6217                          description5862                          description
6218                            "Flag passed to rib to prefer rib over ldp";5863                            "Flag passed to rib to prefer rib over ldp";
6219                        }5864                        }
6220                      }5865                      }
6221                    }5866                    }
6222                    container nexthop-interface-addresses {5867                    container nexthop-interface-addresses {
6223                      description5868                      description
6224                        "Forwarding interface";5869                        "Forwarding interface";
6225                      list nexthop-interface-address {5870                      list nexthop-interface-address {
6226                        key "interface-name address";5871                        key "interface-name address";
6227                        description5872                        description
6228                          "Forwarding interface";5873                          "Forwarding interface";
6229                        leaf interface-name {5874                        leaf interface-name {
6230                          type xr:Interface-name;5875                          type xr:Interface-name;
6231                          description5876                          description
6232                            "Forwarding interface";5877                            "Forwarding interface";
6233                        }5878                        }
6234                        leaf address {5879                        leaf address {
6235                          type inet:ipv6-address-no-zone;5880                          type inet:ipv6-address-no-zone;
6236                          description5881                          description
6237                            "Forwarding router's address";5882                            "Forwarding router's address";
6238                        }5883                        }
6239                        container bfd {5884                        container bfd {
6240                          description5885                          description
6241                            "Configure BFD paramenters";5886                            "Configure BFD paramenters";
6242                          container fast-detect {5887                          container fast-detect {
6243                            presence "Indicates a fast-detect node is configured.";5888                            presence "Indicates a fast-detect node is configured.";
6244                            description5889                            description
6245                              "Enable Fast detection";5890                              "Enable Fast detection";
6246                            leaf minimum-interval {5891                            leaf minimum-interval {
6247                              type uint32 {5892                              type uint32 {
6248                                range "3..30000" {5893                                range "3..30000" {
6249                                  description5894                                  description
6250                                    "interval in milli-seconds";5895                                    "interval in milli-seconds";
6251                                }5896                                }
6252                              }5897                              }
6253                              description5898                              description
6254                                "Hello interval";5899                                "Hello interval";
6255                            }5900                            }
6256                            leaf multiplier {5901                            leaf multiplier {
6257                              type uint32 {5902                              type uint32 {
6258                                range "1..10" {5903                                range "1..10" {
6259                                  description5904                                  description
6260                                    "Detect multiplier";5905                                    "Detect multiplier";
6261                                }5906                                }
6262                              }5907                              }
6263                              description5908                              description
6264                                "Detect multiplier";5909                                "Detect multiplier";
6265                            }5910                            }
6266                          }5911                          }
6267                        }5912                        }
6268                        leaf distance-metric {5913                        leaf distance-metric {
6269                          type uint32 {5914                          type uint32 {
6270                            range "1..254" {5915                            range "1..254" {
6271                              description5916                              description
6272                                "Distance metric for this route";5917                                "Distance metric for this route";
6273                            }5918                            }
6274                          }5919                          }
6275                          description5920                          description
6276                            "Distance metric for this route";5921                            "Distance metric for this route";
6277                        }5922                        }
6278                        leaf tag {5923                        leaf tag {
6279                          type uint32 {5924                          type uint32 {
6280                            range "1..4294967295" {5925                            range "1..4294967295" {
6281                              description5926                              description
6282                                "Set tag for this route";5927                                "Set tag for this route";
6283                            }5928                            }
6284                          }5929                          }
6285                          description5930                          description
6286                            "Set tag for this route";5931                            "Set tag for this route";
6287                        }5932                        }
6288                        container permanent {5933                        container permanent {
6289                          presence "Indicates a permanent node is configured.";5934                          presence "Indicates a permanent node is configured.";
6290                          description5935                          description
6291                            "Permanent route";5936                            "Permanent route";
6292                        }5937                        }
6293                        leaf vrflabel {5938                        leaf vrflabel {
6294                          type uint32 {5939                          type uint32 {
6295                            range "0..4294967295" {5940                            range "0..4294967295" {
6296                              description5941                              description
6297                                "VRF label";5942                                "VRF label";
6298                            }5943                            }
6299                          }5944                          }
6300                          description5945                          description
6301                            "VRF label";5946                            "VRF label";
6302                        }5947                        }
6303                        leaf tunnel-id {5948                        leaf tunnel-id {
6304                          type uint32 {5949                          type uint32 {
6305                            range "0..4294967295" {5950                            range "0..4294967295" {
6306                              description5951                              description
6307                                "Tunnel ID";5952                                "Tunnel ID";
6308                            }5953                            }
6309                          }5954                          }
6310                          description5955                          description
6311                            "Tunnel ID";5956                            "Tunnel ID";
6312                        }5957                        }
6313                        leaf description {5958                        leaf description {
6314                          type string {5959                          type string {
6315                            length "1..30" {5960                            length "1..30" {
6316                              description5961                              description
6317                                "short description of static route";5962                                "short description of static route";
6318                            }5963                            }
6319                          }5964                          }
6320                          description5965                          description
6321                            "description of the static route";5966                            "description of the static route";
6322                        }5967                        }
6323                        leaf track {5968                        leaf track {
6324                          type xr:Cisco-ios-xr-string {5969                          type xr:Cisco-ios-xr-string {
6325                            length "1..32" {5970                            length "1..32" {
6326                              description5971                              description
6327                                "Object to be tracked";5972                                "Object to be tracked";
6328                            }5973                            }
6329                          }5974                          }
6330                          description5975                          description
6331                            "Enable object tracking for static route";5976                            "Enable object tracking for static route";
6332                        }5977                        }
6333                        leaf metric {5978                        leaf metric {
6334                          type uint32 {5979                          type uint32 {
6335                            range "1..16777214" {5980                            range "1..16777214" {
6336                              description5981                              description
6337                                "Set metric for this route";5982                                "Set metric for this route";
6338                            }5983                            }
6339                          }5984                          }
6340                          description5985                          description
6341                            "Set metric for this route";5986                            "Set metric for this route";
6342                        }5987                        }
n6343                        leaf algorithm {n
6344                          type uint32 {
6345                            range "128..255" {
6346                              description
6347                                "Set algorithm value for this route";
6348                            }
6349                          }
6350                          description
6351                            "Set algorithm value for this route";
6352                        }
6353                        container prefer-rib-over-ldp {5988                        container prefer-rib-over-ldp {
6354                          presence "Indicates a prefer-rib-over-ldp node is configured.";5989                          presence "Indicates a prefer-rib-over-ldp node is configured.";
6355                          description5990                          description
6356                            "Flag passed to rib to prefer rib over ldp";5991                            "Flag passed to rib to prefer rib over ldp";
6357                        }5992                        }
6358                      }5993                      }
6359                    }5994                    }
6360                    container nexthop-addresses {5995                    container nexthop-addresses {
6361                      description5996                      description
6362                        "Forwarding router's address";5997                        "Forwarding router's address";
6363                      list nexthop-address {5998                      list nexthop-address {
6364                        key "address";5999                        key "address";
6365                        description6000                        description
6366                          "Forwarding router's address";6001                          "Forwarding router's address";
6367                        leaf address {6002                        leaf address {
6368                          type inet:ipv6-address-no-zone;6003                          type inet:ipv6-address-no-zone;
6369                          description6004                          description
6370                            "Forwarding router's address";6005                            "Forwarding router's address";
6371                        }6006                        }
6372                        container bfd {6007                        container bfd {
6373                          description6008                          description
6374                            "Configure BFD paramenters";6009                            "Configure BFD paramenters";
6375                          container fast-detect {6010                          container fast-detect {
6376                            presence "Indicates a fast-detect node is configured.";6011                            presence "Indicates a fast-detect node is configured.";
6377                            description6012                            description
6378                              "Enable Fast detection";6013                              "Enable Fast detection";
6379                            leaf minimum-interval {6014                            leaf minimum-interval {
6380                              type uint32 {6015                              type uint32 {
6381                                range "3..30000" {6016                                range "3..30000" {
6382                                  description6017                                  description
6383                                    "interval in milli-seconds";6018                                    "interval in milli-seconds";
6384                                }6019                                }
6385                              }6020                              }
6386                              description6021                              description
6387                                "Hello interval";6022                                "Hello interval";
6388                            }6023                            }
6389                            leaf multiplier {6024                            leaf multiplier {
6390                              type uint32 {6025                              type uint32 {
6391                                range "1..10" {6026                                range "1..10" {
6392                                  description6027                                  description
6393                                    "Detect multiplier";6028                                    "Detect multiplier";
6394                                }6029                                }
6395                              }6030                              }
6396                              description6031                              description
6397                                "Detect multiplier";6032                                "Detect multiplier";
6398                            }6033                            }
6399                            container multihop {6034                            container multihop {
6400                              presence "Indicates a multihop node is configured.";6035                              presence "Indicates a multihop node is configured.";
6401                              description6036                              description
6402                                "Enable BFD Multihop";6037                                "Enable BFD Multihop";
6403                              leaf address {6038                              leaf address {
6404                                type inet:ipv6-address-no-zone;6039                                type inet:ipv6-address-no-zone;
6405                                mandatory true;6040                                mandatory true;
6406                                description6041                                description
6407                                  "Source address";6042                                  "Source address";
6408                              }6043                              }
6409                            }6044                            }
6410                          }6045                          }
6411                        }6046                        }
6412                        leaf distance-metric {6047                        leaf distance-metric {
6413                          type uint32 {6048                          type uint32 {
6414                            range "1..254" {6049                            range "1..254" {
6415                              description6050                              description
6416                                "Distance metric for this route";6051                                "Distance metric for this route";
6417                            }6052                            }
6418                          }6053                          }
6419                          description6054                          description
6420                            "Distance metric for this route";6055                            "Distance metric for this route";
6421                        }6056                        }
6422                        leaf tag {6057                        leaf tag {
6423                          type uint32 {6058                          type uint32 {
6424                            range "1..4294967295" {6059                            range "1..4294967295" {
6425                              description6060                              description
6426                                "Set tag for this route";6061                                "Set tag for this route";
6427                            }6062                            }
6428                          }6063                          }
6429                          description6064                          description
6430                            "Set tag for this route";6065                            "Set tag for this route";
6431                        }6066                        }
6432                        container permanent {6067                        container permanent {
6433                          presence "Indicates a permanent node is configured.";6068                          presence "Indicates a permanent node is configured.";
6434                          description6069                          description
6435                            "Permanent route";6070                            "Permanent route";
6436                        }6071                        }
6437                        leaf vrflabel {6072                        leaf vrflabel {
6438                          type uint32 {6073                          type uint32 {
6439                            range "0..4294967295" {6074                            range "0..4294967295" {
6440                              description6075                              description
6441                                "VRF label";6076                                "VRF label";
6442                            }6077                            }
6443                          }6078                          }
6444                          description6079                          description
6445                            "VRF label";6080                            "VRF label";
6446                        }6081                        }
6447                        leaf tunnel-id {6082                        leaf tunnel-id {
6448                          type uint32 {6083                          type uint32 {
6449                            range "0..4294967295" {6084                            range "0..4294967295" {
6450                              description6085                              description
6451                                "Tunnel ID";6086                                "Tunnel ID";
6452                            }6087                            }
6453                          }6088                          }
6454                          description6089                          description
6455                            "Tunnel ID";6090                            "Tunnel ID";
6456                        }6091                        }
6457                        leaf description {6092                        leaf description {
6458                          type string {6093                          type string {
6459                            length "1..30" {6094                            length "1..30" {
6460                              description6095                              description
6461                                "short description of static route";6096                                "short description of static route";
6462                            }6097                            }
6463                          }6098                          }
6464                          description6099                          description
6465                            "description of the static route";6100                            "description of the static route";
6466                        }6101                        }
6467                        leaf track {6102                        leaf track {
6468                          type xr:Cisco-ios-xr-string {6103                          type xr:Cisco-ios-xr-string {
6469                            length "1..32" {6104                            length "1..32" {
6470                              description6105                              description
6471                                "Object to be tracked";6106                                "Object to be tracked";
6472                            }6107                            }
6473                          }6108                          }
6474                          description6109                          description
6475                            "Enable object tracking for static route";6110                            "Enable object tracking for static route";
6476                        }6111                        }
6477                        leaf metric {6112                        leaf metric {
6478                          type uint32 {6113                          type uint32 {
6479                            range "1..16777214" {6114                            range "1..16777214" {
6480                              description6115                              description
6481                                "Set metric for this route";6116                                "Set metric for this route";
6482                            }6117                            }
6483                          }6118                          }
6484                          description6119                          description
6485                            "Set metric for this route";6120                            "Set metric for this route";
6486                        }6121                        }
n6487                        leaf algorithm {n
6488                          type uint32 {
6489                            range "128..255" {
6490                              description
6491                                "Set algorithm value for this route";
6492                            }
6493                          }
6494                          description
6495                            "Set algorithm value for this route";
6496                        }
6497                        container prefer-rib-over-ldp {6122                        container prefer-rib-over-ldp {
6498                          presence "Indicates a prefer-rib-over-ldp node is configured.";6123                          presence "Indicates a prefer-rib-over-ldp node is configured.";
6499                          description6124                          description
6500                            "Flag passed to rib to prefer rib over ldp";6125                            "Flag passed to rib to prefer rib over ldp";
6501                        }6126                        }
6502                      }6127                      }
6503                      list nexthop-address-segment-routing {6128                      list nexthop-address-segment-routing {
6504                        key "address mpls-path-name";6129                        key "address mpls-path-name";
6505                        description6130                        description
6506                          "Forwarding router's address";6131                          "Forwarding router's address";
6507                        leaf address {6132                        leaf address {
6508                          type inet:ipv6-address-no-zone;6133                          type inet:ipv6-address-no-zone;
6509                          description6134                          description
6510                            "Forwarding router's address";6135                            "Forwarding router's address";
6511                        }6136                        }
6512                        leaf mpls-path-name {6137                        leaf mpls-path-name {
6513                          type xr:Cisco-ios-xr-string {6138                          type xr:Cisco-ios-xr-string {
6514                            length "1..1024" {6139                            length "1..1024" {
6515                              description6140                              description
6516                                "Path name";6141                                "Path name";
6517                            }6142                            }
6518                          }6143                          }
6519                          description6144                          description
6520                            "Configure path name";6145                            "Configure path name";
6521                        }6146                        }
6522                        leaf distance-metric {6147                        leaf distance-metric {
6523                          type uint32 {6148                          type uint32 {
6524                            range "1..254" {6149                            range "1..254" {
6525                              description6150                              description
6526                                "Distance metric for this route";6151                                "Distance metric for this route";
6527                            }6152                            }
6528                          }6153                          }
6529                          description6154                          description
6530                            "Distance metric for this route";6155                            "Distance metric for this route";
6531                        }6156                        }
6532                        leaf tag {6157                        leaf tag {
6533                          type uint32 {6158                          type uint32 {
6534                            range "1..4294967295" {6159                            range "1..4294967295" {
6535                              description6160                              description
6536                                "Set tag for this route";6161                                "Set tag for this route";
6537                            }6162                            }
6538                          }6163                          }
6539                          description6164                          description
6540                            "Set tag for this route";6165                            "Set tag for this route";
6541                        }6166                        }
6542                        leaf description {6167                        leaf description {
6543                          type string {6168                          type string {
6544                            length "1..30" {6169                            length "1..30" {
6545                              description6170                              description
6546                                "short description of static route";6171                                "short description of static route";
6547                            }6172                            }
6548                          }6173                          }
6549                          description6174                          description
6550                            "description of the static route";6175                            "description of the static route";
6551                        }6176                        }
6552                        leaf metric {6177                        leaf metric {
6553                          type uint32 {6178                          type uint32 {
6554                            range "1..16777214" {6179                            range "1..16777214" {
6555                              description6180                              description
6556                                "Set metric for this route";6181                                "Set metric for this route";
6557                            }6182                            }
6558                          }6183                          }
6559                          description6184                          description
6560                            "Set metric for this route";6185                            "Set metric for this route";
n6561                        }n
6562                        leaf algorithm {
6563                          type uint32 {
6564                            range "128..255" {
6565                              description
6566                                "Set algorithm value for this route";
6567                            }
6568                          }
6569                          description
6570                            "Set algorithm value for this route";
6571                        }6186                        }
6572                      }6187                      }
6573                    }6188                    }
6574                    container vrfs {6189                    container vrfs {
6575                      description6190                      description
6576                        "Destination VRF";6191                        "Destination VRF";
6577                      list vrf-only {6192                      list vrf-only {
6578                        key "vrf-name";6193                        key "vrf-name";
6579                        description6194                        description
6580                          "Destination only VRF";6195                          "Destination only VRF";
6581                        leaf vrf-name {6196                        leaf vrf-name {
6582                          type xr:Cisco-ios-xr-string {6197                          type xr:Cisco-ios-xr-string {
6583                            length "1..32" {6198                            length "1..32" {
6584                              description6199                              description
6585                                "VRF name";6200                                "VRF name";
6586                            }6201                            }
6587                          }6202                          }
6588                          description6203                          description
6589                            "Destination VRF";6204                            "Destination VRF";
n6590                        }n
6591                        leaf description {
6592                          type string {
6593                            length "1..254" {
6594                              description
6595                                "short description of static route";
6596                            }
6597                          }
6598                          description
6599                            "description of the static route";
6600                        }
6601                        leaf algorithm {
6602                          type uint32 {
6603                            range "128..255" {
6604                              description
6605                                "Set algorithm value for this route";
6606                            }
6607                          }
6608                          description
6609                            "Set algorithm value for this route";
6610                        }6205                        }
6611                      }6206                      }
6612                      list vrf {6207                      list vrf {
6613                        must6208                        must
6614                          "sr-policies/sr-policy or6209                          "sr-policies/sr-policy or
6615                           nexthop-interfaces/nexthop-interface or6210                           nexthop-interfaces/nexthop-interface or
6616                           nexthop-interface-addresses/nexthop-interface-address or6211                           nexthop-interface-addresses/nexthop-interface-address or
6617                           nexthop-addresses/nexthop-address";6212                           nexthop-addresses/nexthop-address";
6618                        key "vrf-name";6213                        key "vrf-name";
6619                        description6214                        description
6620                          "Destination VRF";6215                          "Destination VRF";
6621                        leaf vrf-name {6216                        leaf vrf-name {
6622                          type xr:Cisco-ios-xr-string {6217                          type xr:Cisco-ios-xr-string {
6623                            length "1..32" {6218                            length "1..32" {
6624                              description6219                              description
6625                                "VRF name";6220                                "VRF name";
6626                            }6221                            }
6627                          }6222                          }
6628                          description6223                          description
6629                            "Destination VRF";6224                            "Destination VRF";
6630                        }6225                        }
6631                        container sr-policies {6226                        container sr-policies {
6632                          description6227                          description
6633                            "segment routing policy";6228                            "segment routing policy";
6634                          list sr-policy {6229                          list sr-policy {
6635                            key "sr-policy-name";6230                            key "sr-policy-name";
6636                            description6231                            description
6637                              "segment routing policy";6232                              "segment routing policy";
6638                            leaf sr-policy-name {6233                            leaf sr-policy-name {
6639                              type xr:Cisco-ios-xr-string {6234                              type xr:Cisco-ios-xr-string {
6640                                length "1..1024" {6235                                length "1..1024" {
6641                                  description6236                                  description
6642                                    "SR policy name";6237                                    "SR policy name";
6643                                }6238                                }
6644                              }6239                              }
6645                              description6240                              description
6646                                "segment routing policy";6241                                "segment routing policy";
6647                            }6242                            }
6648                            leaf distance-metric {6243                            leaf distance-metric {
6649                              type uint32 {6244                              type uint32 {
6650                                range "1..254" {6245                                range "1..254" {
6651                                  description6246                                  description
6652                                    "Distance metric for this route";6247                                    "Distance metric for this route";
6653                                }6248                                }
6654                              }6249                              }
6655                              description6250                              description
6656                                "Distance metric for this route";6251                                "Distance metric for this route";
6657                            }6252                            }
6658                            leaf tag {6253                            leaf tag {
6659                              type uint32 {6254                              type uint32 {
6660                                range "1..4294967295" {6255                                range "1..4294967295" {
6661                                  description6256                                  description
6662                                    "Set tag for this route";6257                                    "Set tag for this route";
6663                                }6258                                }
6664                              }6259                              }
6665                              description6260                              description
6666                                "Set tag for this route";6261                                "Set tag for this route";
6667                            }6262                            }
6668                            container permanent {6263                            container permanent {
6669                              presence "Indicates a permanent node is configured.";6264                              presence "Indicates a permanent node is configured.";
6670                              description6265                              description
6671                                "Permanent route";6266                                "Permanent route";
6672                            }6267                            }
6673                            leaf vrflabel {6268                            leaf vrflabel {
6674                              type uint32 {6269                              type uint32 {
6675                                range "0..4294967295" {6270                                range "0..4294967295" {
6676                                  description6271                                  description
6677                                    "VRF label";6272                                    "VRF label";
6678                                }6273                                }
6679                              }6274                              }
6680                              description6275                              description
6681                                "VRF label";6276                                "VRF label";
6682                            }6277                            }
6683                            leaf tunnel-id {6278                            leaf tunnel-id {
6684                              type uint32 {6279                              type uint32 {
6685                                range "0..4294967295" {6280                                range "0..4294967295" {
6686                                  description6281                                  description
6687                                    "Tunnel ID";6282                                    "Tunnel ID";
6688                                }6283                                }
6689                              }6284                              }
6690                              description6285                              description
6691                                "Tunnel ID";6286                                "Tunnel ID";
6692                            }6287                            }
6693                            leaf description {6288                            leaf description {
6694                              type string {6289                              type string {
6695                                length "1..30" {6290                                length "1..30" {
6696                                  description6291                                  description
6697                                    "short description of static route";6292                                    "short description of static route";
6698                                }6293                                }
6699                              }6294                              }
6700                              description6295                              description
6701                                "description of the static route";6296                                "description of the static route";
6702                            }6297                            }
6703                            leaf track {6298                            leaf track {
6704                              type xr:Cisco-ios-xr-string {6299                              type xr:Cisco-ios-xr-string {
6705                                length "1..32" {6300                                length "1..32" {
6706                                  description6301                                  description
6707                                    "Object to be tracked";6302                                    "Object to be tracked";
6708                                }6303                                }
6709                              }6304                              }
6710                              description6305                              description
6711                                "Enable object tracking for static route";6306                                "Enable object tracking for static route";
6712                            }6307                            }
6713                            leaf metric {6308                            leaf metric {
6714                              type uint32 {6309                              type uint32 {
6715                                range "1..16777214" {6310                                range "1..16777214" {
6716                                  description6311                                  description
6717                                    "Set metric for this route";6312                                    "Set metric for this route";
6718                                }6313                                }
6719                              }6314                              }
6720                              description6315                              description
6721                                "Set metric for this route";6316                                "Set metric for this route";
6722                            }6317                            }
n6723                            leaf algorithm {n
6724                              type uint32 {
6725                                range "128..255" {
6726                                  description
6727                                    "Set algorithm value for this route";
6728                                }
6729                              }
6730                              description
6731                                "Set algorithm value for this route";
6732                            }
6733                            container prefer-rib-over-ldp {6318                            container prefer-rib-over-ldp {
6734                              presence "Indicates a prefer-rib-over-ldp node is configured.";6319                              presence "Indicates a prefer-rib-over-ldp node is configured.";
6735                              description6320                              description
6736                                "Flag passed to rib to prefer rib over ldp";6321                                "Flag passed to rib to prefer rib over ldp";
6737                            }6322                            }
6738                          }6323                          }
6739                        }6324                        }
6740                        container nexthop-interfaces {6325                        container nexthop-interfaces {
6741                          description6326                          description
6742                            "Forwarding interface";6327                            "Forwarding interface";
6743                          list nexthop-interface {6328                          list nexthop-interface {
6744                            key "interface-name";6329                            key "interface-name";
6745                            description6330                            description
6746                              "Forwarding interface";6331                              "Forwarding interface";
6747                            leaf interface-name {6332                            leaf interface-name {
6748                              type xr:Interface-name;6333                              type xr:Interface-name;
6749                              description6334                              description
6750                                "Forwarding interface";6335                                "Forwarding interface";
6751                            }6336                            }
6752                            leaf distance-metric {6337                            leaf distance-metric {
6753                              type uint32 {6338                              type uint32 {
6754                                range "1..254" {6339                                range "1..254" {
6755                                  description6340                                  description
6756                                    "Distance metric for this route";6341                                    "Distance metric for this route";
6757                                }6342                                }
6758                              }6343                              }
6759                              description6344                              description
6760                                "Distance metric for this route";6345                                "Distance metric for this route";
6761                            }6346                            }
6762                            leaf tag {6347                            leaf tag {
6763                              type uint32 {6348                              type uint32 {
6764                                range "1..4294967295" {6349                                range "1..4294967295" {
6765                                  description6350                                  description
6766                                    "Set tag for this route";6351                                    "Set tag for this route";
6767                                }6352                                }
6768                              }6353                              }
6769                              description6354                              description
6770                                "Set tag for this route";6355                                "Set tag for this route";
6771                            }6356                            }
6772                            container permanent {6357                            container permanent {
6773                              presence "Indicates a permanent node is configured.";6358                              presence "Indicates a permanent node is configured.";
6774                              description6359                              description
6775                                "Permanent route";6360                                "Permanent route";
6776                            }6361                            }
6777                            leaf vrflabel {6362                            leaf vrflabel {
6778                              type uint32 {6363                              type uint32 {
6779                                range "0..4294967295" {6364                                range "0..4294967295" {
6780                                  description6365                                  description
6781                                    "VRF label";6366                                    "VRF label";
6782                                }6367                                }
6783                              }6368                              }
6784                              description6369                              description
6785                                "VRF label";6370                                "VRF label";
6786                            }6371                            }
6787                            leaf tunnel-id {6372                            leaf tunnel-id {
6788                              type uint32 {6373                              type uint32 {
6789                                range "0..4294967295" {6374                                range "0..4294967295" {
6790                                  description6375                                  description
6791                                    "Tunnel ID";6376                                    "Tunnel ID";
6792                                }6377                                }
6793                              }6378                              }
6794                              description6379                              description
6795                                "Tunnel ID";6380                                "Tunnel ID";
6796                            }6381                            }
6797                            leaf description {6382                            leaf description {
6798                              type string {6383                              type string {
6799                                length "1..30" {6384                                length "1..30" {
6800                                  description6385                                  description
6801                                    "short description of static route";6386                                    "short description of static route";
6802                                }6387                                }
6803                              }6388                              }
6804                              description6389                              description
6805                                "description of the static route";6390                                "description of the static route";
6806                            }6391                            }
6807                            leaf track {6392                            leaf track {
6808                              type xr:Cisco-ios-xr-string {6393                              type xr:Cisco-ios-xr-string {
6809                                length "1..32" {6394                                length "1..32" {
6810                                  description6395                                  description
6811                                    "Object to be tracked";6396                                    "Object to be tracked";
6812                                }6397                                }
6813                              }6398                              }
6814                              description6399                              description
6815                                "Enable object tracking for static route";6400                                "Enable object tracking for static route";
6816                            }6401                            }
6817                            leaf metric {6402                            leaf metric {
6818                              type uint32 {6403                              type uint32 {
6819                                range "1..16777214" {6404                                range "1..16777214" {
6820                                  description6405                                  description
6821                                    "Set metric for this route";6406                                    "Set metric for this route";
6822                                }6407                                }
6823                              }6408                              }
6824                              description6409                              description
6825                                "Set metric for this route";6410                                "Set metric for this route";
n6826                            }n
6827                            leaf algorithm {
6828                              type uint32 {
6829                                range "128..255" {
6830                                  description
6831                                    "Set algorithm value for this route";
6832                                }
6833                              }
6834                              description
6835                                "Set algorithm value for this route";
6836                            }6411                            }
6837                            container prefer-rib-over-ldp {6412                            container prefer-rib-over-ldp {
6838                              presence "Indicates a prefer-rib-over-ldp node is configured.";6413                              presence "Indicates a prefer-rib-over-ldp node is configured.";
6839                              description6414                              description
6840                                "Flag passed to rib to prefer rib over ldp";6415                                "Flag passed to rib to prefer rib over ldp";
6841                            }6416                            }
6842                          }6417                          }
6843                        }6418                        }
6844                        container nexthop-interface-addresses {6419                        container nexthop-interface-addresses {
6845                          description6420                          description
6846                            "Forwarding interface";6421                            "Forwarding interface";
6847                          list nexthop-interface-address {6422                          list nexthop-interface-address {
6848                            key "interface-name address";6423                            key "interface-name address";
6849                            description6424                            description
6850                              "Forwarding interface";6425                              "Forwarding interface";
6851                            leaf interface-name {6426                            leaf interface-name {
6852                              type xr:Interface-name;6427                              type xr:Interface-name;
6853                              description6428                              description
6854                                "Forwarding interface";6429                                "Forwarding interface";
6855                            }6430                            }
6856                            leaf address {6431                            leaf address {
6857                              type inet:ipv6-address-no-zone;6432                              type inet:ipv6-address-no-zone;
6858                              description6433                              description
6859                                "Forwarding router's address";6434                                "Forwarding router's address";
6860                            }6435                            }
6861                            container bfd {6436                            container bfd {
6862                              description6437                              description
6863                                "Configure BFD paramenters";6438                                "Configure BFD paramenters";
6864                              container fast-detect {6439                              container fast-detect {
6865                                presence "Indicates a fast-detect node is configured.";6440                                presence "Indicates a fast-detect node is configured.";
6866                                description6441                                description
6867                                  "Enable Fast detection";6442                                  "Enable Fast detection";
6868                                leaf minimum-interval {6443                                leaf minimum-interval {
6869                                  type uint32 {6444                                  type uint32 {
6870                                    range "3..30000" {6445                                    range "3..30000" {
6871                                      description6446                                      description
6872                                        "interval in milli-seconds";6447                                        "interval in milli-seconds";
6873                                    }6448                                    }
6874                                  }6449                                  }
6875                                  description6450                                  description
6876                                    "Hello interval";6451                                    "Hello interval";
6877                                }6452                                }
6878                                leaf multiplier {6453                                leaf multiplier {
6879                                  type uint32 {6454                                  type uint32 {
6880                                    range "1..10" {6455                                    range "1..10" {
6881                                      description6456                                      description
6882                                        "Detect multiplier";6457                                        "Detect multiplier";
6883                                    }6458                                    }
6884                                  }6459                                  }
6885                                  description6460                                  description
6886                                    "Detect multiplier";6461                                    "Detect multiplier";
6887                                }6462                                }
6888                              }6463                              }
6889                            }6464                            }
6890                            leaf distance-metric {6465                            leaf distance-metric {
6891                              type uint32 {6466                              type uint32 {
6892                                range "1..254" {6467                                range "1..254" {
6893                                  description6468                                  description
6894                                    "Distance metric for this route";6469                                    "Distance metric for this route";
6895                                }6470                                }
6896                              }6471                              }
6897                              description6472                              description
6898                                "Distance metric for this route";6473                                "Distance metric for this route";
6899                            }6474                            }
6900                            leaf tag {6475                            leaf tag {
6901                              type uint32 {6476                              type uint32 {
6902                                range "1..4294967295" {6477                                range "1..4294967295" {
6903                                  description6478                                  description
6904                                    "Set tag for this route";6479                                    "Set tag for this route";
6905                                }6480                                }
6906                              }6481                              }
6907                              description6482                              description
6908                                "Set tag for this route";6483                                "Set tag for this route";
6909                            }6484                            }
6910                            container permanent {6485                            container permanent {
6911                              presence "Indicates a permanent node is configured.";6486                              presence "Indicates a permanent node is configured.";
6912                              description6487                              description
6913                                "Permanent route";6488                                "Permanent route";
6914                            }6489                            }
6915                            leaf vrflabel {6490                            leaf vrflabel {
6916                              type uint32 {6491                              type uint32 {
6917                                range "0..4294967295" {6492                                range "0..4294967295" {
6918                                  description6493                                  description
6919                                    "VRF label";6494                                    "VRF label";
6920                                }6495                                }
6921                              }6496                              }
6922                              description6497                              description
6923                                "VRF label";6498                                "VRF label";
6924                            }6499                            }
6925                            leaf tunnel-id {6500                            leaf tunnel-id {
6926                              type uint32 {6501                              type uint32 {
6927                                range "0..4294967295" {6502                                range "0..4294967295" {
6928                                  description6503                                  description
6929                                    "Tunnel ID";6504                                    "Tunnel ID";
6930                                }6505                                }
6931                              }6506                              }
6932                              description6507                              description
6933                                "Tunnel ID";6508                                "Tunnel ID";
6934                            }6509                            }
6935                            leaf description {6510                            leaf description {
6936                              type string {6511                              type string {
6937                                length "1..30" {6512                                length "1..30" {
6938                                  description6513                                  description
6939                                    "short description of static route";6514                                    "short description of static route";
6940                                }6515                                }
6941                              }6516                              }
6942                              description6517                              description
6943                                "description of the static route";6518                                "description of the static route";
6944                            }6519                            }
6945                            leaf track {6520                            leaf track {
6946                              type xr:Cisco-ios-xr-string {6521                              type xr:Cisco-ios-xr-string {
6947                                length "1..32" {6522                                length "1..32" {
6948                                  description6523                                  description
6949                                    "Object to be tracked";6524                                    "Object to be tracked";
6950                                }6525                                }
6951                              }6526                              }
6952                              description6527                              description
6953                                "Enable object tracking for static route";6528                                "Enable object tracking for static route";
6954                            }6529                            }
6955                            leaf metric {6530                            leaf metric {
6956                              type uint32 {6531                              type uint32 {
6957                                range "1..16777214" {6532                                range "1..16777214" {
6958                                  description6533                                  description
6959                                    "Set metric for this route";6534                                    "Set metric for this route";
6960                                }6535                                }
6961                              }6536                              }
6962                              description6537                              description
6963                                "Set metric for this route";6538                                "Set metric for this route";
6964                            }6539                            }
n6965                            leaf algorithm {n
6966                              type uint32 {
6967                                range "128..255" {
6968                                  description
6969                                    "Set algorithm value for this route";
6970                                }
6971                              }
6972                              description
6973                                "Set algorithm value for this route";
6974                            }
6975                            container prefer-rib-over-ldp {6540                            container prefer-rib-over-ldp {
6976                              presence "Indicates a prefer-rib-over-ldp node is configured.";6541                              presence "Indicates a prefer-rib-over-ldp node is configured.";
6977                              description6542                              description
6978                                "Flag passed to rib to prefer rib over ldp";6543                                "Flag passed to rib to prefer rib over ldp";
6979                            }6544                            }
6980                          }6545                          }
6981                        }6546                        }
6982                        container nexthop-addresses {6547                        container nexthop-addresses {
6983                          description6548                          description
6984                            "Forwarding router's address";6549                            "Forwarding router's address";
6985                          list nexthop-address {6550                          list nexthop-address {
6986                            key "address";6551                            key "address";
6987                            description6552                            description
6988                              "Forwarding router's address";6553                              "Forwarding router's address";
6989                            leaf address {6554                            leaf address {
6990                              type inet:ipv6-address-no-zone;6555                              type inet:ipv6-address-no-zone;
6991                              description6556                              description
6992                                "Forwarding router's address";6557                                "Forwarding router's address";
6993                            }6558                            }
6994                            container bfd {6559                            container bfd {
6995                              description6560                              description
6996                                "Configure BFD paramenters";6561                                "Configure BFD paramenters";
6997                              container fast-detect {6562                              container fast-detect {
6998                                presence "Indicates a fast-detect node is configured.";6563                                presence "Indicates a fast-detect node is configured.";
6999                                description6564                                description
7000                                  "Enable Fast detection";6565                                  "Enable Fast detection";
7001                                leaf minimum-interval {6566                                leaf minimum-interval {
7002                                  type uint32 {6567                                  type uint32 {
7003                                    range "3..30000" {6568                                    range "3..30000" {
7004                                      description6569                                      description
7005                                        "interval in milli-seconds";6570                                        "interval in milli-seconds";
7006                                    }6571                                    }
7007                                  }6572                                  }
7008                                  description6573                                  description
7009                                    "Hello interval";6574                                    "Hello interval";
7010                                }6575                                }
7011                                leaf multiplier {6576                                leaf multiplier {
7012                                  type uint32 {6577                                  type uint32 {
7013                                    range "1..10" {6578                                    range "1..10" {
7014                                      description6579                                      description
7015                                        "Detect multiplier";6580                                        "Detect multiplier";
7016                                    }6581                                    }
7017                                  }6582                                  }
7018                                  description6583                                  description
7019                                    "Detect multiplier";6584                                    "Detect multiplier";
7020                                }6585                                }
7021                                container multihop {6586                                container multihop {
7022                                  presence "Indicates a multihop node is configured.";6587                                  presence "Indicates a multihop node is configured.";
7023                                  description6588                                  description
7024                                    "Enable BFD Multihop";6589                                    "Enable BFD Multihop";
7025                                  leaf address {6590                                  leaf address {
7026                                    type inet:ipv6-address-no-zone;6591                                    type inet:ipv6-address-no-zone;
7027                                    mandatory true;6592                                    mandatory true;
7028                                    description6593                                    description
7029                                      "Source address";6594                                      "Source address";
7030                                  }6595                                  }
7031                                }6596                                }
7032                              }6597                              }
7033                            }6598                            }
7034                            leaf distance-metric {6599                            leaf distance-metric {
7035                              type uint32 {6600                              type uint32 {
7036                                range "1..254" {6601                                range "1..254" {
7037                                  description6602                                  description
7038                                    "Distance metric for this route";6603                                    "Distance metric for this route";
7039                                }6604                                }
7040                              }6605                              }
7041                              description6606                              description
7042                                "Distance metric for this route";6607                                "Distance metric for this route";
7043                            }6608                            }
7044                            leaf tag {6609                            leaf tag {
7045                              type uint32 {6610                              type uint32 {
7046                                range "1..4294967295" {6611                                range "1..4294967295" {
7047                                  description6612                                  description
7048                                    "Set tag for this route";6613                                    "Set tag for this route";
7049                                }6614                                }
7050                              }6615                              }
7051                              description6616                              description
7052                                "Set tag for this route";6617                                "Set tag for this route";
7053                            }6618                            }
7054                            container permanent {6619                            container permanent {
7055                              presence "Indicates a permanent node is configured.";6620                              presence "Indicates a permanent node is configured.";
7056                              description6621                              description
7057                                "Permanent route";6622                                "Permanent route";
7058                            }6623                            }
7059                            leaf vrflabel {6624                            leaf vrflabel {
7060                              type uint32 {6625                              type uint32 {
7061                                range "0..4294967295" {6626                                range "0..4294967295" {
7062                                  description6627                                  description
7063                                    "VRF label";6628                                    "VRF label";
7064                                }6629                                }
7065                              }6630                              }
7066                              description6631                              description
7067                                "VRF label";6632                                "VRF label";
7068                            }6633                            }
7069                            leaf tunnel-id {6634                            leaf tunnel-id {
7070                              type uint32 {6635                              type uint32 {
7071                                range "0..4294967295" {6636                                range "0..4294967295" {
7072                                  description6637                                  description
7073                                    "Tunnel ID";6638                                    "Tunnel ID";
7074                                }6639                                }
7075                              }6640                              }
7076                              description6641                              description
7077                                "Tunnel ID";6642                                "Tunnel ID";
7078                            }6643                            }
7079                            leaf description {6644                            leaf description {
7080                              type string {6645                              type string {
7081                                length "1..30" {6646                                length "1..30" {
7082                                  description6647                                  description
7083                                    "short description of static route";6648                                    "short description of static route";
7084                                }6649                                }
7085                              }6650                              }
7086                              description6651                              description
7087                                "description of the static route";6652                                "description of the static route";
7088                            }6653                            }
7089                            leaf track {6654                            leaf track {
7090                              type xr:Cisco-ios-xr-string {6655                              type xr:Cisco-ios-xr-string {
7091                                length "1..32" {6656                                length "1..32" {
7092                                  description6657                                  description
7093                                    "Object to be tracked";6658                                    "Object to be tracked";
7094                                }6659                                }
7095                              }6660                              }
7096                              description6661                              description
7097                                "Enable object tracking for static route";6662                                "Enable object tracking for static route";
7098                            }6663                            }
7099                            leaf metric {6664                            leaf metric {
7100                              type uint32 {6665                              type uint32 {
7101                                range "1..16777214" {6666                                range "1..16777214" {
7102                                  description6667                                  description
7103                                    "Set metric for this route";6668                                    "Set metric for this route";
7104                                }6669                                }
7105                              }6670                              }
7106                              description6671                              description
7107                                "Set metric for this route";6672                                "Set metric for this route";
n7108                            }n
7109                            leaf algorithm {
7110                              type uint32 {
7111                                range "128..255" {
7112                                  description
7113                                    "Set algorithm value for this route";
7114                                }
7115                              }
7116                              description
7117                                "Set algorithm value for this route";
7118                            }6673                            }
7119                            container prefer-rib-over-ldp {6674                            container prefer-rib-over-ldp {
7120                              presence "Indicates a prefer-rib-over-ldp node is configured.";6675                              presence "Indicates a prefer-rib-over-ldp node is configured.";
7121                              description6676                              description
7122                                "Flag passed to rib to prefer rib over ldp";6677                                "Flag passed to rib to prefer rib over ldp";
7123                            }6678                            }
7124                          }6679                          }
7125                        }6680                        }
7126                      }6681                      }
7127                    }6682                    }
7128                  }6683                  }
7129                }6684                }
7130              }6685              }
7131            }6686            }
7132          }6687          }
7133        }6688        }
7134      }6689      }
7135      container vrfs {6690      container vrfs {
7136        description6691        description
7137          "VRF Static route configuration subcommands";6692          "VRF Static route configuration subcommands";
7138        list vrf {6693        list vrf {
7139          key "vrf-name";6694          key "vrf-name";
7140          description6695          description
7141            "VRF Static route configuration subcommands";6696            "VRF Static route configuration subcommands";
7142          leaf vrf-name {6697          leaf vrf-name {
7143            type xr:Cisco-ios-xr-string {6698            type xr:Cisco-ios-xr-string {
7144              length "1..32" {6699              length "1..32" {
7145                description6700                description
7146                  "VRF name";6701                  "VRF name";
7147              }6702              }
7148            }6703            }
7149            description6704            description
7150              "VRF Static route configuration subcommands";6705              "VRF Static route configuration subcommands";
7151          }6706          }
7152          container address-family {6707          container address-family {
7153            description6708            description
7154              "Static route address family configuration subcommands";6709              "Static route address family configuration subcommands";
7155            container ipv4 {6710            container ipv4 {
7156              description6711              description
7157                "IPv4 commands";6712                "IPv4 commands";
7158              container unicast {6713              container unicast {
7159                description6714                description
7160                  "Unicast commands";6715                  "Unicast commands";
7161                container prefixes {6716                container prefixes {
7162                  description6717                  description
7163                    "Destination prefix";6718                    "Destination prefix";
7164                  list prefix {6719                  list prefix {
7165                    must6720                    must
7166                      "segment-routing/mpls/path/names/name or6721                      "segment-routing/mpls/path/names/name or
n7167                       remote-next-hop/addresses/address/tunnel/vxlan/indexes/index orn
7168                       sr-policies/sr-policy or6722                       sr-policies/sr-policy or
7169                       nexthop-interfaces/nexthop-interface or6723                       nexthop-interfaces/nexthop-interface or
7170                       nexthop-interface-addresses/nexthop-interface-address or6724                       nexthop-interface-addresses/nexthop-interface-address or
7171                       nexthop-addresses/nexthop-address or6725                       nexthop-addresses/nexthop-address or
7172                       nexthop-addresses/nexthop-address-segment-routing or6726                       nexthop-addresses/nexthop-address-segment-routing or
7173                       vrfs/vrf-only or vrfs/vrf/sr-policies/sr-policy or6727                       vrfs/vrf-only or vrfs/vrf/sr-policies/sr-policy or
7174                       vrfs/vrf/nexthop-interfaces/nexthop-interface or6728                       vrfs/vrf/nexthop-interfaces/nexthop-interface or
7175                       vrfs/vrf/nexthop-interface-addresses/nexthop-interface-address or6729                       vrfs/vrf/nexthop-interface-addresses/nexthop-interface-address or
7176                       vrfs/vrf/nexthop-addresses/nexthop-address";6730                       vrfs/vrf/nexthop-addresses/nexthop-address";
7177                    key "prefix-address prefix-length";6731                    key "prefix-address prefix-length";
7178                    description6732                    description
7179                      "Destination prefix";6733                      "Destination prefix";
7180                    leaf prefix-address {6734                    leaf prefix-address {
7181                      type inet:ipv4-address-no-zone;6735                      type inet:ipv4-address-no-zone;
7182                      description6736                      description
7183                        "Destination prefix";6737                        "Destination prefix";
7184                    }6738                    }
7185                    leaf prefix-length {6739                    leaf prefix-length {
7186                      type uint32 {6740                      type uint32 {
7187                        range "0..128";6741                        range "0..128";
7188                      }6742                      }
7189                      description6743                      description
7190                        "Destination prefix length";6744                        "Destination prefix length";
7191                    }6745                    }
n7192                    container remote-next-hop {n
7193                      description
7194                        "remote tunnel endpoint address in default VRF";
7195                      container addresses {
7196                        description
7197                          "Forwarding router ipv4 address";
7198                        list address {
7199                          key "address";
7200                          description
7201                            "Forwarding router ipv4 or ipv6 address";
7202                          leaf address {
7203                            type inet:ip-address-no-zone;
7204                            description
7205                              "Forwarding router ipv4 or ipv6 address";
7206                          }
7207                          container tunnel {
7208                            description
7209                              "Static tunnel commands";
7210                            container vxlan {
7211                              description
7212                                "VXLAN encap type";
7213                              container indexes {
7214                                description
7215                                  "32 bit unique index for this path";
7216                                list index {
7217                                  must "vni or evni";
7218                                  key "index-id";
7219                                  description
7220                                    "32 bit unique index for this path";
7221                                  leaf index-id {
7222                                    type uint32 {
7223                                      range "0..4294967295" {
7224                                        description
7225                                          "32 bit unique index for this path";
7226                                      }
7227                                    }
7228                                    description
7229                                      "32 bit unique index for this path";
7230                                  }
7231                                  leaf nve {
7232                                    type uint32 {
7233                                      range "0..65535" {
7234                                        description
7235                                          "NVE ID to associate this Prefix";
7236                                      }
7237                                    }
7238                                    mandatory true;
7239                                    description
7240                                      "NVE ID to associate this Prefix";
7241                                  }
7242                                  leaf vni {
7243                                    type uint32 {
7244                                      range "1..16777215" {
7245                                        description
7246                                          "Ingress VNI for the tunnel prefix";
7247                                      }
7248                                    }
7249                                    must "not(../evni)";
7250                                    description
7251                                      "Ingress VNI for the tunnel prefix";
7252                                  }
7253                                  leaf evni {
7254                                    type uint32 {
7255                                      range "1..16777215" {
7256                                        description
7257                                          "Engress VNI for the tunnel prefix";
7258                                      }
7259                                    }
7260                                    must "../src-mac";
7261                                    description
7262                                      "Engress VNI for the tunnel prefix";
7263                                  }
7264                                  leaf src-mac {
7265                                    type yang:mac-address;
7266                                    description
7267                                      "source mac for the VXLAN tunnel";
7268                                  }
7269                                  leaf distance-metric-for-this-route {
7270                                    type uint32 {
7271                                      range "1..254" {
7272                                        description
7273                                          "Distance metric for this route";
7274                                      }
7275                                    }
7276                                    description
7277                                      "Distance metric for this route";
7278                                  }
7279                                  leaf tag {
7280                                    type uint32 {
7281                                      range "1..4294967295" {
7282                                        description
7283                                          "Set tag for this route";
7284                                      }
7285                                    }
7286                                    description
7287                                      "Set tag for this route";
7288                                  }
7289                                  leaf description {
7290                                    type xr:Cisco-ios-xr-string {
7291                                      length "1..30" {
7292                                        description
7293                                          "short description of static route";
7294                                      }
7295                                    }
7296                                    description
7297                                      "description of the static route";
7298                                  }
7299                                  leaf track {
7300                                    type xr:Cisco-ios-xr-string {
7301                                      length "1..32" {
7302                                        description
7303                                          "Object to be tracked";
7304                                      }
7305                                    }
7306                                    description
7307                                      "Enable object tracking for static route";
7308                                  }
7309                                  leaf metric {
7310                                    type uint32 {
7311                                      range "1..16777214" {
7312                                        description
7313                                          "Set metric for this route";
7314                                      }
7315                                    }
7316                                    description
7317                                      "Set metric for this route";
7318                                  }
7319                                  container prefer-rib-over-ldp {
7320                                    presence "Indicates a prefer-rib-over-ldp node is configured.";
7321                                    description
7322                                      "Flag passed to rib to prefer rib over ldp";
7323                                  }
7324                                  container permanent {
7325                                    presence "Indicates a permanent node is configured.";
7326                                    description
7327                                      "Permanent route";
7328                                  }
7329                                  container tunnel-opt-mode {
7330                                    description
7331                                      "Tunnel optimization mode";
7332                                    container disable {
7333                                      presence "Indicates a disable node is configured.";
7334                                      description
7335                                        "Disable per path optimization";
7336                                    }
7337                                  }
7338                                }
7339                              }
7340                            }
7341                          }
7342                        }
7343                      }
7344                    }
7345                    container segment-routing {6746                    container segment-routing {
7346                      description6747                      description
7347                        "Configure Static Segment Routing";6748                        "Configure Static Segment Routing";
7348                      container mpls {6749                      container mpls {
7349                        description6750                        description
7350                          "Configure mpls path name";6751                          "Configure mpls path name";
7351                        container path {6752                        container path {
7352                          description6753                          description
7353                            "Configure path name";6754                            "Configure path name";
7354                          container names {6755                          container names {
7355                            description6756                            description
7356                              "Configure path name";6757                              "Configure path name";
7357                            list name {6758                            list name {
7358                              key "path-name";6759                              key "path-name";
7359                              description6760                              description
7360                                "Configure path name";6761                                "Configure path name";
7361                              leaf path-name {6762                              leaf path-name {
7362                                type xr:Cisco-ios-xr-string {6763                                type xr:Cisco-ios-xr-string {
7363                                  length "1..1024" {6764                                  length "1..1024" {
7364                                    description6765                                    description
7365                                      "Path name";6766                                      "Path name";
7366                                  }6767                                  }
7367                                }6768                                }
7368                                description6769                                description
7369                                  "Configure path name";6770                                  "Configure path name";
7370                              }6771                              }
7371                              leaf distance-metric {6772                              leaf distance-metric {
7372                                type uint32 {6773                                type uint32 {
7373                                  range "1..254" {6774                                  range "1..254" {
7374                                    description6775                                    description
7375                                      "Distance metric for this route";6776                                      "Distance metric for this route";
7376                                  }6777                                  }
7377                                }6778                                }
7378                                description6779                                description
7379                                  "Distance metric for this route";6780                                  "Distance metric for this route";
7380                              }6781                              }
7381                              leaf tag {6782                              leaf tag {
7382                                type uint32 {6783                                type uint32 {
7383                                  range "1..4294967295" {6784                                  range "1..4294967295" {
7384                                    description6785                                    description
7385                                      "Set tag for this route";6786                                      "Set tag for this route";
7386                                  }6787                                  }
7387                                }6788                                }
7388                                description6789                                description
7389                                  "Set tag for this route";6790                                  "Set tag for this route";
7390                              }6791                              }
7391                              leaf description {6792                              leaf description {
7392                                type string {6793                                type string {
7393                                  length "1..30" {6794                                  length "1..30" {
7394                                    description6795                                    description
7395                                      "short description of static route";6796                                      "short description of static route";
7396                                  }6797                                  }
7397                                }6798                                }
7398                                description6799                                description
7399                                  "description of the static route";6800                                  "description of the static route";
7400                              }6801                              }
7401                              leaf metric {6802                              leaf metric {
7402                                type uint32 {6803                                type uint32 {
7403                                  range "1..16777214" {6804                                  range "1..16777214" {
7404                                    description6805                                    description
7405                                      "Set metric for this route";6806                                      "Set metric for this route";
7406                                  }6807                                  }
7407                                }6808                                }
7408                                description6809                                description
7409                                  "Set metric for this route";6810                                  "Set metric for this route";
7410                              }6811                              }
7411                            }6812                            }
7412                          }6813                          }
7413                        }6814                        }
7414                      }6815                      }
7415                    }6816                    }
7416                    container sr-policies {6817                    container sr-policies {
7417                      description6818                      description
7418                        "segment routing policy";6819                        "segment routing policy";
7419                      list sr-policy {6820                      list sr-policy {
7420                        key "sr-policy-name";6821                        key "sr-policy-name";
7421                        description6822                        description
7422                          "segment routing policy";6823                          "segment routing policy";
7423                        leaf sr-policy-name {6824                        leaf sr-policy-name {
7424                          type xr:Cisco-ios-xr-string {6825                          type xr:Cisco-ios-xr-string {
7425                            length "1..1024" {6826                            length "1..1024" {
7426                              description6827                              description
7427                                "SR policy name";6828                                "SR policy name";
7428                            }6829                            }
7429                          }6830                          }
7430                          description6831                          description
7431                            "segment routing policy";6832                            "segment routing policy";
7432                        }6833                        }
7433                        leaf distance-metric {6834                        leaf distance-metric {
7434                          type uint32 {6835                          type uint32 {
7435                            range "1..254" {6836                            range "1..254" {
7436                              description6837                              description
7437                                "Distance metric for this route";6838                                "Distance metric for this route";
7438                            }6839                            }
7439                          }6840                          }
7440                          description6841                          description
7441                            "Distance metric for this route";6842                            "Distance metric for this route";
7442                        }6843                        }
7443                        leaf tag {6844                        leaf tag {
7444                          type uint32 {6845                          type uint32 {
7445                            range "1..4294967295" {6846                            range "1..4294967295" {
7446                              description6847                              description
7447                                "Set tag for this route";6848                                "Set tag for this route";
7448                            }6849                            }
7449                          }6850                          }
7450                          description6851                          description
7451                            "Set tag for this route";6852                            "Set tag for this route";
7452                        }6853                        }
7453                        container permanent {6854                        container permanent {
7454                          presence "Indicates a permanent node is configured.";6855                          presence "Indicates a permanent node is configured.";
7455                          description6856                          description
7456                            "Permanent route";6857                            "Permanent route";
7457                        }6858                        }
7458                        leaf vrflabel {6859                        leaf vrflabel {
7459                          type uint32 {6860                          type uint32 {
7460                            range "0..4294967295" {6861                            range "0..4294967295" {
7461                              description6862                              description
7462                                "VRF label";6863                                "VRF label";
7463                            }6864                            }
7464                          }6865                          }
7465                          description6866                          description
7466                            "VRF label";6867                            "VRF label";
7467                        }6868                        }
7468                        leaf tunnel-id {6869                        leaf tunnel-id {
7469                          type uint32 {6870                          type uint32 {
7470                            range "0..4294967295" {6871                            range "0..4294967295" {
7471                              description6872                              description
7472                                "Tunnel ID";6873                                "Tunnel ID";
7473                            }6874                            }
7474                          }6875                          }
7475                          description6876                          description
7476                            "Tunnel ID";6877                            "Tunnel ID";
7477                        }6878                        }
7478                        leaf description {6879                        leaf description {
7479                          type string {6880                          type string {
7480                            length "1..30" {6881                            length "1..30" {
7481                              description6882                              description
7482                                "short description of static route";6883                                "short description of static route";
7483                            }6884                            }
7484                          }6885                          }
7485                          description6886                          description
7486                            "description of the static route";6887                            "description of the static route";
7487                        }6888                        }
7488                        leaf track {6889                        leaf track {
7489                          type xr:Cisco-ios-xr-string {6890                          type xr:Cisco-ios-xr-string {
7490                            length "1..32" {6891                            length "1..32" {
7491                              description6892                              description
7492                                "Object to be tracked";6893                                "Object to be tracked";
7493                            }6894                            }
7494                          }6895                          }
7495                          description6896                          description
7496                            "Enable object tracking for static route";6897                            "Enable object tracking for static route";
7497                        }6898                        }
7498                        leaf metric {6899                        leaf metric {
7499                          type uint32 {6900                          type uint32 {
7500                            range "1..16777214" {6901                            range "1..16777214" {
7501                              description6902                              description
7502                                "Set metric for this route";6903                                "Set metric for this route";
7503                            }6904                            }
7504                          }6905                          }
7505                          description6906                          description
7506                            "Set metric for this route";6907                            "Set metric for this route";
7507                        }6908                        }
7508                        container prefer-rib-over-ldp {6909                        container prefer-rib-over-ldp {
7509                          presence "Indicates a prefer-rib-over-ldp node is configured.";6910                          presence "Indicates a prefer-rib-over-ldp node is configured.";
7510                          description6911                          description
7511                            "Flag passed to rib to prefer rib over ldp";6912                            "Flag passed to rib to prefer rib over ldp";
7512                        }6913                        }
7513                      }6914                      }
7514                    }6915                    }
7515                    container nexthop-interfaces {6916                    container nexthop-interfaces {
7516                      description6917                      description
7517                        "Forwarding interface";6918                        "Forwarding interface";
7518                      list nexthop-interface {6919                      list nexthop-interface {
7519                        key "interface-name";6920                        key "interface-name";
7520                        description6921                        description
7521                          "Forwarding interface";6922                          "Forwarding interface";
7522                        leaf interface-name {6923                        leaf interface-name {
7523                          type xr:Interface-name;6924                          type xr:Interface-name;
7524                          description6925                          description
7525                            "Forwarding interface";6926                            "Forwarding interface";
7526                        }6927                        }
7527                        leaf distance-metric {6928                        leaf distance-metric {
7528                          type uint32 {6929                          type uint32 {
7529                            range "1..254" {6930                            range "1..254" {
7530                              description6931                              description
7531                                "Distance metric for this route";6932                                "Distance metric for this route";
7532                            }6933                            }
7533                          }6934                          }
7534                          description6935                          description
7535                            "Distance metric for this route";6936                            "Distance metric for this route";
7536                        }6937                        }
7537                        leaf tag {6938                        leaf tag {
7538                          type uint32 {6939                          type uint32 {
7539                            range "1..4294967295" {6940                            range "1..4294967295" {
7540                              description6941                              description
7541                                "Set tag for this route";6942                                "Set tag for this route";
7542                            }6943                            }
7543                          }6944                          }
7544                          description6945                          description
7545                            "Set tag for this route";6946                            "Set tag for this route";
7546                        }6947                        }
7547                        container permanent {6948                        container permanent {
7548                          presence "Indicates a permanent node is configured.";6949                          presence "Indicates a permanent node is configured.";
7549                          description6950                          description
7550                            "Permanent route";6951                            "Permanent route";
7551                        }6952                        }
7552                        leaf vrflabel {6953                        leaf vrflabel {
7553                          type uint32 {6954                          type uint32 {
7554                            range "0..4294967295" {6955                            range "0..4294967295" {
7555                              description6956                              description
7556                                "VRF label";6957                                "VRF label";
7557                            }6958                            }
7558                          }6959                          }
7559                          description6960                          description
7560                            "VRF label";6961                            "VRF label";
7561                        }6962                        }
7562                        leaf tunnel-id {6963                        leaf tunnel-id {
7563                          type uint32 {6964                          type uint32 {
7564                            range "0..4294967295" {6965                            range "0..4294967295" {
7565                              description6966                              description
7566                                "Tunnel ID";6967                                "Tunnel ID";
7567                            }6968                            }
7568                          }6969                          }
7569                          description6970                          description
7570                            "Tunnel ID";6971                            "Tunnel ID";
7571                        }6972                        }
7572                        leaf description {6973                        leaf description {
7573                          type string {6974                          type string {
7574                            length "1..30" {6975                            length "1..30" {
7575                              description6976                              description
7576                                "short description of static route";6977                                "short description of static route";
7577                            }6978                            }
7578                          }6979                          }
7579                          description6980                          description
7580                            "description of the static route";6981                            "description of the static route";
7581                        }6982                        }
7582                        leaf track {6983                        leaf track {
7583                          type xr:Cisco-ios-xr-string {6984                          type xr:Cisco-ios-xr-string {
7584                            length "1..32" {6985                            length "1..32" {
7585                              description6986                              description
7586                                "Object to be tracked";6987                                "Object to be tracked";
7587                            }6988                            }
7588                          }6989                          }
7589                          description6990                          description
7590                            "Enable object tracking for static route";6991                            "Enable object tracking for static route";
7591                        }6992                        }
7592                        leaf metric {6993                        leaf metric {
7593                          type uint32 {6994                          type uint32 {
7594                            range "1..16777214" {6995                            range "1..16777214" {
7595                              description6996                              description
7596                                "Set metric for this route";6997                                "Set metric for this route";
7597                            }6998                            }
7598                          }6999                          }
7599                          description7000                          description
7600                            "Set metric for this route";7001                            "Set metric for this route";
7601                        }7002                        }
7602                        container prefer-rib-over-ldp {7003                        container prefer-rib-over-ldp {
7603                          presence "Indicates a prefer-rib-over-ldp node is configured.";7004                          presence "Indicates a prefer-rib-over-ldp node is configured.";
7604                          description7005                          description
7605                            "Flag passed to rib to prefer rib over ldp";7006                            "Flag passed to rib to prefer rib over ldp";
7606                        }7007                        }
7607                      }7008                      }
7608                    }7009                    }
7609                    container nexthop-interface-addresses {7010                    container nexthop-interface-addresses {
7610                      description7011                      description
7611                        "Forwarding interface";7012                        "Forwarding interface";
7612                      list nexthop-interface-address {7013                      list nexthop-interface-address {
7613                        key "interface-name address";7014                        key "interface-name address";
7614                        description7015                        description
7615                          "Forwarding interface";7016                          "Forwarding interface";
7616                        leaf interface-name {7017                        leaf interface-name {
7617                          type xr:Interface-name;7018                          type xr:Interface-name;
7618                          description7019                          description
7619                            "Forwarding interface";7020                            "Forwarding interface";
7620                        }7021                        }
7621                        leaf address {7022                        leaf address {
7622                          type inet:ipv4-address-no-zone;7023                          type inet:ipv4-address-no-zone;
7623                          description7024                          description
7624                            "Forwarding router's address";7025                            "Forwarding router's address";
7625                        }7026                        }
7626                        container bfd {7027                        container bfd {
7627                          description7028                          description
7628                            "Configure BFD paramenters";7029                            "Configure BFD paramenters";
7629                          container fast-detect {7030                          container fast-detect {
7630                            presence "Indicates a fast-detect node is configured.";7031                            presence "Indicates a fast-detect node is configured.";
7631                            description7032                            description
7632                              "Enable Fast detection";7033                              "Enable Fast detection";
7633                            leaf minimum-interval {7034                            leaf minimum-interval {
7634                              type uint32 {7035                              type uint32 {
7635                                range "3..30000" {7036                                range "3..30000" {
7636                                  description7037                                  description
7637                                    "interval in milli-seconds";7038                                    "interval in milli-seconds";
7638                                }7039                                }
7639                              }7040                              }
7640                              description7041                              description
7641                                "Hello interval";7042                                "Hello interval";
7642                            }7043                            }
7643                            leaf multiplier {7044                            leaf multiplier {
7644                              type uint32 {7045                              type uint32 {
7645                                range "1..10" {7046                                range "1..10" {
7646                                  description7047                                  description
7647                                    "Detect multiplier";7048                                    "Detect multiplier";
7648                                }7049                                }
7649                              }7050                              }
7650                              description7051                              description
7651                                "Detect multiplier";7052                                "Detect multiplier";
7652                            }7053                            }
7653                          }7054                          }
7654                        }7055                        }
7655                        leaf distance-metric {7056                        leaf distance-metric {
7656                          type uint32 {7057                          type uint32 {
7657                            range "1..254" {7058                            range "1..254" {
7658                              description7059                              description
7659                                "Distance metric for this route";7060                                "Distance metric for this route";
7660                            }7061                            }
7661                          }7062                          }
7662                          description7063                          description
7663                            "Distance metric for this route";7064                            "Distance metric for this route";
7664                        }7065                        }
7665                        leaf tag {7066                        leaf tag {
7666                          type uint32 {7067                          type uint32 {
7667                            range "1..4294967295" {7068                            range "1..4294967295" {
7668                              description7069                              description
7669                                "Set tag for this route";7070                                "Set tag for this route";
7670                            }7071                            }
7671                          }7072                          }
7672                          description7073                          description
7673                            "Set tag for this route";7074                            "Set tag for this route";
7674                        }7075                        }
7675                        container permanent {7076                        container permanent {
7676                          presence "Indicates a permanent node is configured.";7077                          presence "Indicates a permanent node is configured.";
7677                          description7078                          description
7678                            "Permanent route";7079                            "Permanent route";
7679                        }7080                        }
7680                        leaf vrflabel {7081                        leaf vrflabel {
7681                          type uint32 {7082                          type uint32 {
7682                            range "0..4294967295" {7083                            range "0..4294967295" {
7683                              description7084                              description
7684                                "VRF label";7085                                "VRF label";
7685                            }7086                            }
7686                          }7087                          }
7687                          description7088                          description
7688                            "VRF label";7089                            "VRF label";
7689                        }7090                        }
7690                        leaf tunnel-id {7091                        leaf tunnel-id {
7691                          type uint32 {7092                          type uint32 {
7692                            range "0..4294967295" {7093                            range "0..4294967295" {
7693                              description7094                              description
7694                                "Tunnel ID";7095                                "Tunnel ID";
7695                            }7096                            }
7696                          }7097                          }
7697                          description7098                          description
7698                            "Tunnel ID";7099                            "Tunnel ID";
7699                        }7100                        }
7700                        leaf description {7101                        leaf description {
7701                          type string {7102                          type string {
7702                            length "1..30" {7103                            length "1..30" {
7703                              description7104                              description
7704                                "short description of static route";7105                                "short description of static route";
7705                            }7106                            }
7706                          }7107                          }
7707                          description7108                          description
7708                            "description of the static route";7109                            "description of the static route";
7709                        }7110                        }
7710                        leaf track {7111                        leaf track {
7711                          type xr:Cisco-ios-xr-string {7112                          type xr:Cisco-ios-xr-string {
7712                            length "1..32" {7113                            length "1..32" {
7713                              description7114                              description
7714                                "Object to be tracked";7115                                "Object to be tracked";
7715                            }7116                            }
7716                          }7117                          }
7717                          description7118                          description
7718                            "Enable object tracking for static route";7119                            "Enable object tracking for static route";
7719                        }7120                        }
7720                        leaf metric {7121                        leaf metric {
7721                          type uint32 {7122                          type uint32 {
7722                            range "1..16777214" {7123                            range "1..16777214" {
7723                              description7124                              description
7724                                "Set metric for this route";7125                                "Set metric for this route";
7725                            }7126                            }
7726                          }7127                          }
7727                          description7128                          description
7728                            "Set metric for this route";7129                            "Set metric for this route";
7729                        }7130                        }
7730                        container prefer-rib-over-ldp {7131                        container prefer-rib-over-ldp {
7731                          presence "Indicates a prefer-rib-over-ldp node is configured.";7132                          presence "Indicates a prefer-rib-over-ldp node is configured.";
7732                          description7133                          description
7733                            "Flag passed to rib to prefer rib over ldp";7134                            "Flag passed to rib to prefer rib over ldp";
7734                        }7135                        }
7735                      }7136                      }
7736                    }7137                    }
7737                    container nexthop-addresses {7138                    container nexthop-addresses {
7738                      description7139                      description
7739                        "Forwarding router's address";7140                        "Forwarding router's address";
7740                      list nexthop-address {7141                      list nexthop-address {
7741                        key "address";7142                        key "address";
7742                        description7143                        description
7743                          "Forwarding router's address";7144                          "Forwarding router's address";
7744                        leaf address {7145                        leaf address {
7745                          type inet:ipv4-address-no-zone;7146                          type inet:ipv4-address-no-zone;
7746                          description7147                          description
7747                            "Forwarding router's address";7148                            "Forwarding router's address";
7748                        }7149                        }
7749                        container bfd {7150                        container bfd {
7750                          description7151                          description
7751                            "Configure BFD paramenters";7152                            "Configure BFD paramenters";
7752                          container fast-detect {7153                          container fast-detect {
7753                            presence "Indicates a fast-detect node is configured.";7154                            presence "Indicates a fast-detect node is configured.";
7754                            description7155                            description
7755                              "Enable Fast detection";7156                              "Enable Fast detection";
7756                            leaf minimum-interval {7157                            leaf minimum-interval {
7757                              type uint32 {7158                              type uint32 {
7758                                range "3..30000" {7159                                range "3..30000" {
7759                                  description7160                                  description
7760                                    "interval in milli-seconds";7161                                    "interval in milli-seconds";
7761                                }7162                                }
7762                              }7163                              }
7763                              description7164                              description
7764                                "Hello interval";7165                                "Hello interval";
7765                            }7166                            }
7766                            leaf multiplier {7167                            leaf multiplier {
7767                              type uint32 {7168                              type uint32 {
7768                                range "1..10" {7169                                range "1..10" {
7769                                  description7170                                  description
7770                                    "Detect multiplier";7171                                    "Detect multiplier";
7771                                }7172                                }
7772                              }7173                              }
7773                              description7174                              description
7774                                "Detect multiplier";7175                                "Detect multiplier";
7775                            }7176                            }
7776                            container multihop {7177                            container multihop {
7777                              presence "Indicates a multihop node is configured.";7178                              presence "Indicates a multihop node is configured.";
7778                              description7179                              description
7779                                "Enable BFD Multihop";7180                                "Enable BFD Multihop";
7780                              leaf address {7181                              leaf address {
7781                                type inet:ipv4-address-no-zone;7182                                type inet:ipv4-address-no-zone;
7782                                mandatory true;7183                                mandatory true;
7783                                description7184                                description
7784                                  "Source address";7185                                  "Source address";
7785                              }7186                              }
7786                            }7187                            }
7787                          }7188                          }
7788                        }7189                        }
7789                        leaf distance-metric {7190                        leaf distance-metric {
7790                          type uint32 {7191                          type uint32 {
7791                            range "1..254" {7192                            range "1..254" {
7792                              description7193                              description
7793                                "Distance metric for this route";7194                                "Distance metric for this route";
7794                            }7195                            }
7795                          }7196                          }
7796                          description7197                          description
7797                            "Distance metric for this route";7198                            "Distance metric for this route";
7798                        }7199                        }
7799                        leaf tag {7200                        leaf tag {
7800                          type uint32 {7201                          type uint32 {
7801                            range "1..4294967295" {7202                            range "1..4294967295" {
7802                              description7203                              description
7803                                "Set tag for this route";7204                                "Set tag for this route";
7804                            }7205                            }
7805                          }7206                          }
7806                          description7207                          description
7807                            "Set tag for this route";7208                            "Set tag for this route";
7808                        }7209                        }
7809                        container permanent {7210                        container permanent {
7810                          presence "Indicates a permanent node is configured.";7211                          presence "Indicates a permanent node is configured.";
7811                          description7212                          description
7812                            "Permanent route";7213                            "Permanent route";
7813                        }7214                        }
7814                        leaf vrflabel {7215                        leaf vrflabel {
7815                          type uint32 {7216                          type uint32 {
7816                            range "0..4294967295" {7217                            range "0..4294967295" {
7817                              description7218                              description
7818                                "VRF label";7219                                "VRF label";
7819                            }7220                            }
7820                          }7221                          }
7821                          description7222                          description
7822                            "VRF label";7223                            "VRF label";
7823                        }7224                        }
7824                        leaf tunnel-id {7225                        leaf tunnel-id {
7825                          type uint32 {7226                          type uint32 {
7826                            range "0..4294967295" {7227                            range "0..4294967295" {
7827                              description7228                              description
7828                                "Tunnel ID";7229                                "Tunnel ID";
7829                            }7230                            }
7830                          }7231                          }
7831                          description7232                          description
7832                            "Tunnel ID";7233                            "Tunnel ID";
7833                        }7234                        }
7834                        leaf description {7235                        leaf description {
7835                          type string {7236                          type string {
7836                            length "1..30" {7237                            length "1..30" {
7837                              description7238                              description
7838                                "short description of static route";7239                                "short description of static route";
7839                            }7240                            }
7840                          }7241                          }
7841                          description7242                          description
7842                            "description of the static route";7243                            "description of the static route";
7843                        }7244                        }
7844                        leaf track {7245                        leaf track {
7845                          type xr:Cisco-ios-xr-string {7246                          type xr:Cisco-ios-xr-string {
7846                            length "1..32" {7247                            length "1..32" {
7847                              description7248                              description
7848                                "Object to be tracked";7249                                "Object to be tracked";
7849                            }7250                            }
7850                          }7251                          }
7851                          description7252                          description
7852                            "Enable object tracking for static route";7253                            "Enable object tracking for static route";
7853                        }7254                        }
7854                        leaf metric {7255                        leaf metric {
7855                          type uint32 {7256                          type uint32 {
7856                            range "1..16777214" {7257                            range "1..16777214" {
7857                              description7258                              description
7858                                "Set metric for this route";7259                                "Set metric for this route";
7859                            }7260                            }
7860                          }7261                          }
7861                          description7262                          description
7862                            "Set metric for this route";7263                            "Set metric for this route";
7863                        }7264                        }
7864                        container prefer-rib-over-ldp {7265                        container prefer-rib-over-ldp {
7865                          presence "Indicates a prefer-rib-over-ldp node is configured.";7266                          presence "Indicates a prefer-rib-over-ldp node is configured.";
7866                          description7267                          description
7867                            "Flag passed to rib to prefer rib over ldp";7268                            "Flag passed to rib to prefer rib over ldp";
7868                        }7269                        }
7869                      }7270                      }
7870                      list nexthop-address-segment-routing {7271                      list nexthop-address-segment-routing {
7871                        key "address mpls-path-name";7272                        key "address mpls-path-name";
7872                        description7273                        description
7873                          "Forwarding router's address";7274                          "Forwarding router's address";
7874                        leaf address {7275                        leaf address {
7875                          type inet:ipv4-address-no-zone;7276                          type inet:ipv4-address-no-zone;
7876                          description7277                          description
7877                            "Forwarding router's address";7278                            "Forwarding router's address";
7878                        }7279                        }
7879                        leaf mpls-path-name {7280                        leaf mpls-path-name {
7880                          type xr:Cisco-ios-xr-string {7281                          type xr:Cisco-ios-xr-string {
7881                            length "1..1024" {7282                            length "1..1024" {
7882                              description7283                              description
7883                                "Path name";7284                                "Path name";
7884                            }7285                            }
7885                          }7286                          }
7886                          description7287                          description
7887                            "Configure path name";7288                            "Configure path name";
7888                        }7289                        }
7889                        leaf distance-metric {7290                        leaf distance-metric {
7890                          type uint32 {7291                          type uint32 {
7891                            range "1..254" {7292                            range "1..254" {
7892                              description7293                              description
7893                                "Distance metric for this route";7294                                "Distance metric for this route";
7894                            }7295                            }
7895                          }7296                          }
7896                          description7297                          description
7897                            "Distance metric for this route";7298                            "Distance metric for this route";
7898                        }7299                        }
7899                        leaf tag {7300                        leaf tag {
7900                          type uint32 {7301                          type uint32 {
7901                            range "1..4294967295" {7302                            range "1..4294967295" {
7902                              description7303                              description
7903                                "Set tag for this route";7304                                "Set tag for this route";
7904                            }7305                            }
7905                          }7306                          }
7906                          description7307                          description
7907                            "Set tag for this route";7308                            "Set tag for this route";
7908                        }7309                        }
7909                        leaf description {7310                        leaf description {
7910                          type string {7311                          type string {
7911                            length "1..30" {7312                            length "1..30" {
7912                              description7313                              description
7913                                "short description of static route";7314                                "short description of static route";
7914                            }7315                            }
7915                          }7316                          }
7916                          description7317                          description
7917                            "description of the static route";7318                            "description of the static route";
7918                        }7319                        }
7919                        leaf metric {7320                        leaf metric {
7920                          type uint32 {7321                          type uint32 {
7921                            range "1..16777214" {7322                            range "1..16777214" {
7922                              description7323                              description
7923                                "Set metric for this route";7324                                "Set metric for this route";
7924                            }7325                            }
7925                          }7326                          }
7926                          description7327                          description
7927                            "Set metric for this route";7328                            "Set metric for this route";
7928                        }7329                        }
7929                      }7330                      }
7930                    }7331                    }
7931                    container vrfs {7332                    container vrfs {
7932                      description7333                      description
7933                        "Destination VRF";7334                        "Destination VRF";
7934                      list vrf-only {7335                      list vrf-only {
7935                        key "vrf-name";7336                        key "vrf-name";
7936                        description7337                        description
7937                          "Destination only VRF";7338                          "Destination only VRF";
7938                        leaf vrf-name {7339                        leaf vrf-name {
7939                          type xr:Cisco-ios-xr-string {7340                          type xr:Cisco-ios-xr-string {
7940                            length "1..32" {7341                            length "1..32" {
7941                              description7342                              description
7942                                "VRF name";7343                                "VRF name";
7943                            }7344                            }
7944                          }7345                          }
7945                          description7346                          description
7946                            "Destination VRF";7347                            "Destination VRF";
n7947                        }n
7948                        leaf description {
7949                          type string {
7950                            length "1..254" {
7951                              description
7952                                "short description of static route";
7953                            }
7954                          }
7955                          description
7956                            "description of the static route";
7957                        }7348                        }
7958                      }7349                      }
7959                      list vrf {7350                      list vrf {
7960                        must7351                        must
7961                          "sr-policies/sr-policy or7352                          "sr-policies/sr-policy or
7962                           nexthop-interfaces/nexthop-interface or7353                           nexthop-interfaces/nexthop-interface or
7963                           nexthop-interface-addresses/nexthop-interface-address or7354                           nexthop-interface-addresses/nexthop-interface-address or
7964                           nexthop-addresses/nexthop-address";7355                           nexthop-addresses/nexthop-address";
7965                        key "vrf-name";7356                        key "vrf-name";
7966                        description7357                        description
7967                          "Destination VRF";7358                          "Destination VRF";
7968                        leaf vrf-name {7359                        leaf vrf-name {
7969                          type xr:Cisco-ios-xr-string {7360                          type xr:Cisco-ios-xr-string {
7970                            length "1..32" {7361                            length "1..32" {
7971                              description7362                              description
7972                                "VRF name";7363                                "VRF name";
7973                            }7364                            }
7974                          }7365                          }
7975                          description7366                          description
7976                            "Destination VRF";7367                            "Destination VRF";
7977                        }7368                        }
7978                        container sr-policies {7369                        container sr-policies {
7979                          description7370                          description
7980                            "segment routing policy";7371                            "segment routing policy";
7981                          list sr-policy {7372                          list sr-policy {
7982                            key "sr-policy-name";7373                            key "sr-policy-name";
7983                            description7374                            description
7984                              "segment routing policy";7375                              "segment routing policy";
7985                            leaf sr-policy-name {7376                            leaf sr-policy-name {
7986                              type xr:Cisco-ios-xr-string {7377                              type xr:Cisco-ios-xr-string {
7987                                length "1..1024" {7378                                length "1..1024" {
7988                                  description7379                                  description
7989                                    "SR policy name";7380                                    "SR policy name";
7990                                }7381                                }
7991                              }7382                              }
7992                              description7383                              description
7993                                "segment routing policy";7384                                "segment routing policy";
7994                            }7385                            }
7995                            leaf distance-metric {7386                            leaf distance-metric {
7996                              type uint32 {7387                              type uint32 {
7997                                range "1..254" {7388                                range "1..254" {
7998                                  description7389                                  description
7999                                    "Distance metric for this route";7390                                    "Distance metric for this route";
8000                                }7391                                }
8001                              }7392                              }
8002                              description7393                              description
8003                                "Distance metric for this route";7394                                "Distance metric for this route";
8004                            }7395                            }
8005                            leaf tag {7396                            leaf tag {
8006                              type uint32 {7397                              type uint32 {
8007                                range "1..4294967295" {7398                                range "1..4294967295" {
8008                                  description7399                                  description
8009                                    "Set tag for this route";7400                                    "Set tag for this route";
8010                                }7401                                }
8011                              }7402                              }
8012                              description7403                              description
8013                                "Set tag for this route";7404                                "Set tag for this route";
8014                            }7405                            }
8015                            container permanent {7406                            container permanent {
8016                              presence "Indicates a permanent node is configured.";7407                              presence "Indicates a permanent node is configured.";
8017                              description7408                              description
8018                                "Permanent route";7409                                "Permanent route";
8019                            }7410                            }
8020                            leaf vrflabel {7411                            leaf vrflabel {
8021                              type uint32 {7412                              type uint32 {
8022                                range "0..4294967295" {7413                                range "0..4294967295" {
8023                                  description7414                                  description
8024                                    "VRF label";7415                                    "VRF label";
8025                                }7416                                }
8026                              }7417                              }
8027                              description7418                              description
8028                                "VRF label";7419                                "VRF label";
8029                            }7420                            }
8030                            leaf tunnel-id {7421                            leaf tunnel-id {
8031                              type uint32 {7422                              type uint32 {
8032                                range "0..4294967295" {7423                                range "0..4294967295" {
8033                                  description7424                                  description
8034                                    "Tunnel ID";7425                                    "Tunnel ID";
8035                                }7426                                }
8036                              }7427                              }
8037                              description7428                              description
8038                                "Tunnel ID";7429                                "Tunnel ID";
8039                            }7430                            }
8040                            leaf description {7431                            leaf description {
8041                              type string {7432                              type string {
8042                                length "1..30" {7433                                length "1..30" {
8043                                  description7434                                  description
8044                                    "short description of static route";7435                                    "short description of static route";
8045                                }7436                                }
8046                              }7437                              }
8047                              description7438                              description
8048                                "description of the static route";7439                                "description of the static route";
8049                            }7440                            }
8050                            leaf track {7441                            leaf track {
8051                              type xr:Cisco-ios-xr-string {7442                              type xr:Cisco-ios-xr-string {
8052                                length "1..32" {7443                                length "1..32" {
8053                                  description7444                                  description
8054                                    "Object to be tracked";7445                                    "Object to be tracked";
8055                                }7446                                }
8056                              }7447                              }
8057                              description7448                              description
8058                                "Enable object tracking for static route";7449                                "Enable object tracking for static route";
8059                            }7450                            }
8060                            leaf metric {7451                            leaf metric {
8061                              type uint32 {7452                              type uint32 {
8062                                range "1..16777214" {7453                                range "1..16777214" {
8063                                  description7454                                  description
8064                                    "Set metric for this route";7455                                    "Set metric for this route";
8065                                }7456                                }
8066                              }7457                              }
8067                              description7458                              description
8068                                "Set metric for this route";7459                                "Set metric for this route";
8069                            }7460                            }
8070                            container prefer-rib-over-ldp {7461                            container prefer-rib-over-ldp {
8071                              presence "Indicates a prefer-rib-over-ldp node is configured.";7462                              presence "Indicates a prefer-rib-over-ldp node is configured.";
8072                              description7463                              description
8073                                "Flag passed to rib to prefer rib over ldp";7464                                "Flag passed to rib to prefer rib over ldp";
8074                            }7465                            }
8075                          }7466                          }
8076                        }7467                        }
8077                        container nexthop-interfaces {7468                        container nexthop-interfaces {
8078                          description7469                          description
8079                            "Forwarding interface";7470                            "Forwarding interface";
8080                          list nexthop-interface {7471                          list nexthop-interface {
8081                            key "interface-name";7472                            key "interface-name";
8082                            description7473                            description
8083                              "Forwarding interface";7474                              "Forwarding interface";
8084                            leaf interface-name {7475                            leaf interface-name {
8085                              type xr:Interface-name;7476                              type xr:Interface-name;
8086                              description7477                              description
8087                                "Forwarding interface";7478                                "Forwarding interface";
8088                            }7479                            }
8089                            leaf distance-metric {7480                            leaf distance-metric {
8090                              type uint32 {7481                              type uint32 {
8091                                range "1..254" {7482                                range "1..254" {
8092                                  description7483                                  description
8093                                    "Distance metric for this route";7484                                    "Distance metric for this route";
8094                                }7485                                }
8095                              }7486                              }
8096                              description7487                              description
8097                                "Distance metric for this route";7488                                "Distance metric for this route";
8098                            }7489                            }
8099                            leaf tag {7490                            leaf tag {
8100                              type uint32 {7491                              type uint32 {
8101                                range "1..4294967295" {7492                                range "1..4294967295" {
8102                                  description7493                                  description
8103                                    "Set tag for this route";7494                                    "Set tag for this route";
8104                                }7495                                }
8105                              }7496                              }
8106                              description7497                              description
8107                                "Set tag for this route";7498                                "Set tag for this route";
8108                            }7499                            }
8109                            container permanent {7500                            container permanent {
8110                              presence "Indicates a permanent node is configured.";7501                              presence "Indicates a permanent node is configured.";
8111                              description7502                              description
8112                                "Permanent route";7503                                "Permanent route";
8113                            }7504                            }
8114                            leaf vrflabel {7505                            leaf vrflabel {
8115                              type uint32 {7506                              type uint32 {
8116                                range "0..4294967295" {7507                                range "0..4294967295" {
8117                                  description7508                                  description
8118                                    "VRF label";7509                                    "VRF label";
8119                                }7510                                }
8120                              }7511                              }
8121                              description7512                              description
8122                                "VRF label";7513                                "VRF label";
8123                            }7514                            }
8124                            leaf tunnel-id {7515                            leaf tunnel-id {
8125                              type uint32 {7516                              type uint32 {
8126                                range "0..4294967295" {7517                                range "0..4294967295" {
8127                                  description7518                                  description
8128                                    "Tunnel ID";7519                                    "Tunnel ID";
8129                                }7520                                }
8130                              }7521                              }
8131                              description7522                              description
8132                                "Tunnel ID";7523                                "Tunnel ID";
8133                            }7524                            }
8134                            leaf description {7525                            leaf description {
8135                              type string {7526                              type string {
8136                                length "1..30" {7527                                length "1..30" {
8137                                  description7528                                  description
8138                                    "short description of static route";7529                                    "short description of static route";
8139                                }7530                                }
8140                              }7531                              }
8141                              description7532                              description
8142                                "description of the static route";7533                                "description of the static route";
8143                            }7534                            }
8144                            leaf track {7535                            leaf track {
8145                              type xr:Cisco-ios-xr-string {7536                              type xr:Cisco-ios-xr-string {
8146                                length "1..32" {7537                                length "1..32" {
8147                                  description7538                                  description
8148                                    "Object to be tracked";7539                                    "Object to be tracked";
8149                                }7540                                }
8150                              }7541                              }
8151                              description7542                              description
8152                                "Enable object tracking for static route";7543                                "Enable object tracking for static route";
8153                            }7544                            }
8154                            leaf metric {7545                            leaf metric {
8155                              type uint32 {7546                              type uint32 {
8156                                range "1..16777214" {7547                                range "1..16777214" {
8157                                  description7548                                  description
8158                                    "Set metric for this route";7549                                    "Set metric for this route";
8159                                }7550                                }
8160                              }7551                              }
8161                              description7552                              description
8162                                "Set metric for this route";7553                                "Set metric for this route";
8163                            }7554                            }
8164                            container prefer-rib-over-ldp {7555                            container prefer-rib-over-ldp {
8165                              presence "Indicates a prefer-rib-over-ldp node is configured.";7556                              presence "Indicates a prefer-rib-over-ldp node is configured.";
8166                              description7557                              description
8167                                "Flag passed to rib to prefer rib over ldp";7558                                "Flag passed to rib to prefer rib over ldp";
8168                            }7559                            }
8169                          }7560                          }
8170                        }7561                        }
8171                        container nexthop-interface-addresses {7562                        container nexthop-interface-addresses {
8172                          description7563                          description
8173                            "Forwarding interface";7564                            "Forwarding interface";
8174                          list nexthop-interface-address {7565                          list nexthop-interface-address {
8175                            key "interface-name address";7566                            key "interface-name address";
8176                            description7567                            description
8177                              "Forwarding interface";7568                              "Forwarding interface";
8178                            leaf interface-name {7569                            leaf interface-name {
8179                              type xr:Interface-name;7570                              type xr:Interface-name;
8180                              description7571                              description
8181                                "Forwarding interface";7572                                "Forwarding interface";
8182                            }7573                            }
8183                            leaf address {7574                            leaf address {
8184                              type inet:ipv4-address-no-zone;7575                              type inet:ipv4-address-no-zone;
8185                              description7576                              description
8186                                "Forwarding router's address";7577                                "Forwarding router's address";
8187                            }7578                            }
8188                            container bfd {7579                            container bfd {
8189                              description7580                              description
8190                                "Configure BFD paramenters";7581                                "Configure BFD paramenters";
8191                              container fast-detect {7582                              container fast-detect {
8192                                presence "Indicates a fast-detect node is configured.";7583                                presence "Indicates a fast-detect node is configured.";
8193                                description7584                                description
8194                                  "Enable Fast detection";7585                                  "Enable Fast detection";
8195                                leaf minimum-interval {7586                                leaf minimum-interval {
8196                                  type uint32 {7587                                  type uint32 {
8197                                    range "3..30000" {7588                                    range "3..30000" {
8198                                      description7589                                      description
8199                                        "interval in milli-seconds";7590                                        "interval in milli-seconds";
8200                                    }7591                                    }
8201                                  }7592                                  }
8202                                  description7593                                  description
8203                                    "Hello interval";7594                                    "Hello interval";
8204                                }7595                                }
8205                                leaf multiplier {7596                                leaf multiplier {
8206                                  type uint32 {7597                                  type uint32 {
8207                                    range "1..10" {7598                                    range "1..10" {
8208                                      description7599                                      description
8209                                        "Detect multiplier";7600                                        "Detect multiplier";
8210                                    }7601                                    }
8211                                  }7602                                  }
8212                                  description7603                                  description
8213                                    "Detect multiplier";7604                                    "Detect multiplier";
8214                                }7605                                }
8215                              }7606                              }
8216                            }7607                            }
8217                            leaf distance-metric {7608                            leaf distance-metric {
8218                              type uint32 {7609                              type uint32 {
8219                                range "1..254" {7610                                range "1..254" {
8220                                  description7611                                  description
8221                                    "Distance metric for this route";7612                                    "Distance metric for this route";
8222                                }7613                                }
8223                              }7614                              }
8224                              description7615                              description
8225                                "Distance metric for this route";7616                                "Distance metric for this route";
8226                            }7617                            }
8227                            leaf tag {7618                            leaf tag {
8228                              type uint32 {7619                              type uint32 {
8229                                range "1..4294967295" {7620                                range "1..4294967295" {
8230                                  description7621                                  description
8231                                    "Set tag for this route";7622                                    "Set tag for this route";
8232                                }7623                                }
8233                              }7624                              }
8234                              description7625                              description
8235                                "Set tag for this route";7626                                "Set tag for this route";
8236                            }7627                            }
8237                            container permanent {7628                            container permanent {
8238                              presence "Indicates a permanent node is configured.";7629                              presence "Indicates a permanent node is configured.";
8239                              description7630                              description
8240                                "Permanent route";7631                                "Permanent route";
8241                            }7632                            }
8242                            leaf vrflabel {7633                            leaf vrflabel {
8243                              type uint32 {7634                              type uint32 {
8244                                range "0..4294967295" {7635                                range "0..4294967295" {
8245                                  description7636                                  description
8246                                    "VRF label";7637                                    "VRF label";
8247                                }7638                                }
8248                              }7639                              }
8249                              description7640                              description
8250                                "VRF label";7641                                "VRF label";
8251                            }7642                            }
8252                            leaf tunnel-id {7643                            leaf tunnel-id {
8253                              type uint32 {7644                              type uint32 {
8254                                range "0..4294967295" {7645                                range "0..4294967295" {
8255                                  description7646                                  description
8256                                    "Tunnel ID";7647                                    "Tunnel ID";
8257                                }7648                                }
8258                              }7649                              }
8259                              description7650                              description
8260                                "Tunnel ID";7651                                "Tunnel ID";
8261                            }7652                            }
8262                            leaf description {7653                            leaf description {
8263                              type string {7654                              type string {
8264                                length "1..30" {7655                                length "1..30" {
8265                                  description7656                                  description
8266                                    "short description of static route";7657                                    "short description of static route";
8267                                }7658                                }
8268                              }7659                              }
8269                              description7660                              description
8270                                "description of the static route";7661                                "description of the static route";
8271                            }7662                            }
8272                            leaf track {7663                            leaf track {
8273                              type xr:Cisco-ios-xr-string {7664                              type xr:Cisco-ios-xr-string {
8274                                length "1..32" {7665                                length "1..32" {
8275                                  description7666                                  description
8276                                    "Object to be tracked";7667                                    "Object to be tracked";
8277                                }7668                                }
8278                              }7669                              }
8279                              description7670                              description
8280                                "Enable object tracking for static route";7671                                "Enable object tracking for static route";
8281                            }7672                            }
8282                            leaf metric {7673                            leaf metric {
8283                              type uint32 {7674                              type uint32 {
8284                                range "1..16777214" {7675                                range "1..16777214" {
8285                                  description7676                                  description
8286                                    "Set metric for this route";7677                                    "Set metric for this route";
8287                                }7678                                }
8288                              }7679                              }
8289                              description7680                              description
8290                                "Set metric for this route";7681                                "Set metric for this route";
8291                            }7682                            }
8292                            container prefer-rib-over-ldp {7683                            container prefer-rib-over-ldp {
8293                              presence "Indicates a prefer-rib-over-ldp node is configured.";7684                              presence "Indicates a prefer-rib-over-ldp node is configured.";
8294                              description7685                              description
8295                                "Flag passed to rib to prefer rib over ldp";7686                                "Flag passed to rib to prefer rib over ldp";
8296                            }7687                            }
8297                          }7688                          }
8298                        }7689                        }
8299                        container nexthop-addresses {7690                        container nexthop-addresses {
8300                          description7691                          description
8301                            "Forwarding router's address";7692                            "Forwarding router's address";
8302                          list nexthop-address {7693                          list nexthop-address {
8303                            key "address";7694                            key "address";
8304                            description7695                            description
8305                              "Forwarding router's address";7696                              "Forwarding router's address";
8306                            leaf address {7697                            leaf address {
8307                              type inet:ipv4-address-no-zone;7698                              type inet:ipv4-address-no-zone;
8308                              description7699                              description
8309                                "Forwarding router's address";7700                                "Forwarding router's address";
8310                            }7701                            }
8311                            container bfd {7702                            container bfd {
8312                              description7703                              description
8313                                "Configure BFD paramenters";7704                                "Configure BFD paramenters";
8314                              container fast-detect {7705                              container fast-detect {
8315                                presence "Indicates a fast-detect node is configured.";7706                                presence "Indicates a fast-detect node is configured.";
8316                                description7707                                description
8317                                  "Enable Fast detection";7708                                  "Enable Fast detection";
8318                                leaf minimum-interval {7709                                leaf minimum-interval {
8319                                  type uint32 {7710                                  type uint32 {
8320                                    range "3..30000" {7711                                    range "3..30000" {
8321                                      description7712                                      description
8322                                        "interval in milli-seconds";7713                                        "interval in milli-seconds";
8323                                    }7714                                    }
8324                                  }7715                                  }
8325                                  description7716                                  description
8326                                    "Hello interval";7717                                    "Hello interval";
8327                                }7718                                }
8328                                leaf multiplier {7719                                leaf multiplier {
8329                                  type uint32 {7720                                  type uint32 {
8330                                    range "1..10" {7721                                    range "1..10" {
8331                                      description7722                                      description
8332                                        "Detect multiplier";7723                                        "Detect multiplier";
8333                                    }7724                                    }
8334                                  }7725                                  }
8335                                  description7726                                  description
8336                                    "Detect multiplier";7727                                    "Detect multiplier";
8337                                }7728                                }
8338                                container multihop {7729                                container multihop {
8339                                  presence "Indicates a multihop node is configured.";7730                                  presence "Indicates a multihop node is configured.";
8340                                  description7731                                  description
8341                                    "Enable BFD Multihop";7732                                    "Enable BFD Multihop";
8342                                  leaf address {7733                                  leaf address {
8343                                    type inet:ipv4-address-no-zone;7734                                    type inet:ipv4-address-no-zone;
8344                                    mandatory true;7735                                    mandatory true;
8345                                    description7736                                    description
8346                                      "Source address";7737                                      "Source address";
8347                                  }7738                                  }
8348                                }7739                                }
8349                              }7740                              }
8350                            }7741                            }
8351                            leaf distance-metric {7742                            leaf distance-metric {
8352                              type uint32 {7743                              type uint32 {
8353                                range "1..254" {7744                                range "1..254" {
8354                                  description7745                                  description
8355                                    "Distance metric for this route";7746                                    "Distance metric for this route";
8356                                }7747                                }
8357                              }7748                              }
8358                              description7749                              description
8359                                "Distance metric for this route";7750                                "Distance metric for this route";
8360                            }7751                            }
8361                            leaf tag {7752                            leaf tag {
8362                              type uint32 {7753                              type uint32 {
8363                                range "1..4294967295" {7754                                range "1..4294967295" {
8364                                  description7755                                  description
8365                                    "Set tag for this route";7756                                    "Set tag for this route";
8366                                }7757                                }
8367                              }7758                              }
8368                              description7759                              description
8369                                "Set tag for this route";7760                                "Set tag for this route";
8370                            }7761                            }
8371                            container permanent {7762                            container permanent {
8372                              presence "Indicates a permanent node is configured.";7763                              presence "Indicates a permanent node is configured.";
8373                              description7764                              description
8374                                "Permanent route";7765                                "Permanent route";
8375                            }7766                            }
8376                            leaf vrflabel {7767                            leaf vrflabel {
8377                              type uint32 {7768                              type uint32 {
8378                                range "0..4294967295" {7769                                range "0..4294967295" {
8379                                  description7770                                  description
8380                                    "VRF label";7771                                    "VRF label";
8381                                }7772                                }
8382                              }7773                              }
8383                              description7774                              description
8384                                "VRF label";7775                                "VRF label";
8385                            }7776                            }
8386                            leaf tunnel-id {7777                            leaf tunnel-id {
8387                              type uint32 {7778                              type uint32 {
8388                                range "0..4294967295" {7779                                range "0..4294967295" {
8389                                  description7780                                  description
8390                                    "Tunnel ID";7781                                    "Tunnel ID";
8391                                }7782                                }
8392                              }7783                              }
8393                              description7784                              description
8394                                "Tunnel ID";7785                                "Tunnel ID";
8395                            }7786                            }
8396                            leaf description {7787                            leaf description {
8397                              type string {7788                              type string {
8398                                length "1..30" {7789                                length "1..30" {
8399                                  description7790                                  description
8400                                    "short description of static route";7791                                    "short description of static route";
8401                                }7792                                }
8402                              }7793                              }
8403                              description7794                              description
8404                                "description of the static route";7795                                "description of the static route";
8405                            }7796                            }
8406                            leaf track {7797                            leaf track {
8407                              type xr:Cisco-ios-xr-string {7798                              type xr:Cisco-ios-xr-string {
8408                                length "1..32" {7799                                length "1..32" {
8409                                  description7800                                  description
8410                                    "Object to be tracked";7801                                    "Object to be tracked";
8411                                }7802                                }
8412                              }7803                              }
8413                              description7804                              description
8414                                "Enable object tracking for static route";7805                                "Enable object tracking for static route";
8415                            }7806                            }
8416                            leaf metric {7807                            leaf metric {
8417                              type uint32 {7808                              type uint32 {
8418                                range "1..16777214" {7809                                range "1..16777214" {
8419                                  description7810                                  description
8420                                    "Set metric for this route";7811                                    "Set metric for this route";
8421                                }7812                                }
8422                              }7813                              }
8423                              description7814                              description
8424                                "Set metric for this route";7815                                "Set metric for this route";
8425                            }7816                            }
8426                            container prefer-rib-over-ldp {7817                            container prefer-rib-over-ldp {
8427                              presence "Indicates a prefer-rib-over-ldp node is configured.";7818                              presence "Indicates a prefer-rib-over-ldp node is configured.";
8428                              description7819                              description
8429                                "Flag passed to rib to prefer rib over ldp";7820                                "Flag passed to rib to prefer rib over ldp";
8430                            }7821                            }
8431                          }7822                          }
8432                        }7823                        }
8433                      }7824                      }
8434                    }7825                    }
8435                  }7826                  }
8436                }7827                }
8437              }7828              }
8438              container multicast {7829              container multicast {
8439                description7830                description
8440                  "Multicast commands";7831                  "Multicast commands";
8441                container prefixes {7832                container prefixes {
8442                  description7833                  description
8443                    "Destination prefix";7834                    "Destination prefix";
8444                  list prefix {7835                  list prefix {
8445                    must7836                    must
8446                      "segment-routing/mpls/path/names/name or7837                      "segment-routing/mpls/path/names/name or
8447                       sr-policies/sr-policy or7838                       sr-policies/sr-policy or
8448                       nexthop-interfaces/nexthop-interface or7839                       nexthop-interfaces/nexthop-interface or
8449                       nexthop-interface-addresses/nexthop-interface-address or7840                       nexthop-interface-addresses/nexthop-interface-address or
8450                       nexthop-addresses/nexthop-address or7841                       nexthop-addresses/nexthop-address or
8451                       nexthop-addresses/nexthop-address-segment-routing or7842                       nexthop-addresses/nexthop-address-segment-routing or
8452                       vrfs/vrf-only or vrfs/vrf/sr-policies/sr-policy or7843                       vrfs/vrf-only or vrfs/vrf/sr-policies/sr-policy or
8453                       vrfs/vrf/nexthop-interfaces/nexthop-interface or7844                       vrfs/vrf/nexthop-interfaces/nexthop-interface or
8454                       vrfs/vrf/nexthop-interface-addresses/nexthop-interface-address or7845                       vrfs/vrf/nexthop-interface-addresses/nexthop-interface-address or
8455                       vrfs/vrf/nexthop-addresses/nexthop-address";7846                       vrfs/vrf/nexthop-addresses/nexthop-address";
8456                    key "prefix-address prefix-length";7847                    key "prefix-address prefix-length";
8457                    description7848                    description
8458                      "Destination prefix";7849                      "Destination prefix";
8459                    leaf prefix-address {7850                    leaf prefix-address {
8460                      type inet:ipv4-address-no-zone;7851                      type inet:ipv4-address-no-zone;
8461                      description7852                      description
8462                        "Destination prefix";7853                        "Destination prefix";
8463                    }7854                    }
8464                    leaf prefix-length {7855                    leaf prefix-length {
8465                      type uint32 {7856                      type uint32 {
8466                        range "0..128";7857                        range "0..128";
8467                      }7858                      }
8468                      description7859                      description
8469                        "Destination prefix length";7860                        "Destination prefix length";
8470                    }7861                    }
8471                    container segment-routing {7862                    container segment-routing {
8472                      description7863                      description
8473                        "Configure Static Segment Routing";7864                        "Configure Static Segment Routing";
8474                      container mpls {7865                      container mpls {
8475                        description7866                        description
8476                          "Configure mpls path name";7867                          "Configure mpls path name";
8477                        container path {7868                        container path {
8478                          description7869                          description
8479                            "Configure path name";7870                            "Configure path name";
8480                          container names {7871                          container names {
8481                            description7872                            description
8482                              "Configure path name";7873                              "Configure path name";
8483                            list name {7874                            list name {
8484                              key "path-name";7875                              key "path-name";
8485                              description7876                              description
8486                                "Configure path name";7877                                "Configure path name";
8487                              leaf path-name {7878                              leaf path-name {
8488                                type xr:Cisco-ios-xr-string {7879                                type xr:Cisco-ios-xr-string {
8489                                  length "1..1024" {7880                                  length "1..1024" {
8490                                    description7881                                    description
8491                                      "Path name";7882                                      "Path name";
8492                                  }7883                                  }
8493                                }7884                                }
8494                                description7885                                description
8495                                  "Configure path name";7886                                  "Configure path name";
8496                              }7887                              }
8497                              leaf distance-metric {7888                              leaf distance-metric {
8498                                type uint32 {7889                                type uint32 {
8499                                  range "1..254" {7890                                  range "1..254" {
8500                                    description7891                                    description
8501                                      "Distance metric for this route";7892                                      "Distance metric for this route";
8502                                  }7893                                  }
8503                                }7894                                }
8504                                description7895                                description
8505                                  "Distance metric for this route";7896                                  "Distance metric for this route";
8506                              }7897                              }
8507                              leaf tag {7898                              leaf tag {
8508                                type uint32 {7899                                type uint32 {
8509                                  range "1..4294967295" {7900                                  range "1..4294967295" {
8510                                    description7901                                    description
8511                                      "Set tag for this route";7902                                      "Set tag for this route";
8512                                  }7903                                  }
8513                                }7904                                }
8514                                description7905                                description
8515                                  "Set tag for this route";7906                                  "Set tag for this route";
8516                              }7907                              }
8517                              leaf description {7908                              leaf description {
8518                                type string {7909                                type string {
8519                                  length "1..30" {7910                                  length "1..30" {
8520                                    description7911                                    description
8521                                      "short description of static route";7912                                      "short description of static route";
8522                                  }7913                                  }
8523                                }7914                                }
8524                                description7915                                description
8525                                  "description of the static route";7916                                  "description of the static route";
8526                              }7917                              }
8527                              leaf metric {7918                              leaf metric {
8528                                type uint32 {7919                                type uint32 {
8529                                  range "1..16777214" {7920                                  range "1..16777214" {
8530                                    description7921                                    description
8531                                      "Set metric for this route";7922                                      "Set metric for this route";
8532                                  }7923                                  }
8533                                }7924                                }
8534                                description7925                                description
8535                                  "Set metric for this route";7926                                  "Set metric for this route";
8536                              }7927                              }
8537                            }7928                            }
8538                          }7929                          }
8539                        }7930                        }
8540                      }7931                      }
8541                    }7932                    }
8542                    container sr-policies {7933                    container sr-policies {
8543                      description7934                      description
8544                        "segment routing policy";7935                        "segment routing policy";
8545                      list sr-policy {7936                      list sr-policy {
8546                        key "sr-policy-name";7937                        key "sr-policy-name";
8547                        description7938                        description
8548                          "segment routing policy";7939                          "segment routing policy";
8549                        leaf sr-policy-name {7940                        leaf sr-policy-name {
8550                          type xr:Cisco-ios-xr-string {7941                          type xr:Cisco-ios-xr-string {
8551                            length "1..1024" {7942                            length "1..1024" {
8552                              description7943                              description
8553                                "SR policy name";7944                                "SR policy name";
8554                            }7945                            }
8555                          }7946                          }
8556                          description7947                          description
8557                            "segment routing policy";7948                            "segment routing policy";
8558                        }7949                        }
8559                        leaf distance-metric {7950                        leaf distance-metric {
8560                          type uint32 {7951                          type uint32 {
8561                            range "1..254" {7952                            range "1..254" {
8562                              description7953                              description
8563                                "Distance metric for this route";7954                                "Distance metric for this route";
8564                            }7955                            }
8565                          }7956                          }
8566                          description7957                          description
8567                            "Distance metric for this route";7958                            "Distance metric for this route";
8568                        }7959                        }
8569                        leaf tag {7960                        leaf tag {
8570                          type uint32 {7961                          type uint32 {
8571                            range "1..4294967295" {7962                            range "1..4294967295" {
8572                              description7963                              description
8573                                "Set tag for this route";7964                                "Set tag for this route";
8574                            }7965                            }
8575                          }7966                          }
8576                          description7967                          description
8577                            "Set tag for this route";7968                            "Set tag for this route";
8578                        }7969                        }
8579                        container permanent {7970                        container permanent {
8580                          presence "Indicates a permanent node is configured.";7971                          presence "Indicates a permanent node is configured.";
8581                          description7972                          description
8582                            "Permanent route";7973                            "Permanent route";
8583                        }7974                        }
8584                        leaf vrflabel {7975                        leaf vrflabel {
8585                          type uint32 {7976                          type uint32 {
8586                            range "0..4294967295" {7977                            range "0..4294967295" {
8587                              description7978                              description
8588                                "VRF label";7979                                "VRF label";
8589                            }7980                            }
8590                          }7981                          }
8591                          description7982                          description
8592                            "VRF label";7983                            "VRF label";
8593                        }7984                        }
8594                        leaf tunnel-id {7985                        leaf tunnel-id {
8595                          type uint32 {7986                          type uint32 {
8596                            range "0..4294967295" {7987                            range "0..4294967295" {
8597                              description7988                              description
8598                                "Tunnel ID";7989                                "Tunnel ID";
8599                            }7990                            }
8600                          }7991                          }
8601                          description7992                          description
8602                            "Tunnel ID";7993                            "Tunnel ID";
8603                        }7994                        }
8604                        leaf description {7995                        leaf description {
8605                          type string {7996                          type string {
8606                            length "1..30" {7997                            length "1..30" {
8607                              description7998                              description
8608                                "short description of static route";7999                                "short description of static route";
8609                            }8000                            }
8610                          }8001                          }
8611                          description8002                          description
8612                            "description of the static route";8003                            "description of the static route";
8613                        }8004                        }
8614                        leaf track {8005                        leaf track {
8615                          type xr:Cisco-ios-xr-string {8006                          type xr:Cisco-ios-xr-string {
8616                            length "1..32" {8007                            length "1..32" {
8617                              description8008                              description
8618                                "Object to be tracked";8009                                "Object to be tracked";
8619                            }8010                            }
8620                          }8011                          }
8621                          description8012                          description
8622                            "Enable object tracking for static route";8013                            "Enable object tracking for static route";
8623                        }8014                        }
8624                        leaf metric {8015                        leaf metric {
8625                          type uint32 {8016                          type uint32 {
8626                            range "1..16777214" {8017                            range "1..16777214" {
8627                              description8018                              description
8628                                "Set metric for this route";8019                                "Set metric for this route";
8629                            }8020                            }
8630                          }8021                          }
8631                          description8022                          description
8632                            "Set metric for this route";8023                            "Set metric for this route";
8633                        }8024                        }
8634                        container prefer-rib-over-ldp {8025                        container prefer-rib-over-ldp {
8635                          presence "Indicates a prefer-rib-over-ldp node is configured.";8026                          presence "Indicates a prefer-rib-over-ldp node is configured.";
8636                          description8027                          description
8637                            "Flag passed to rib to prefer rib over ldp";8028                            "Flag passed to rib to prefer rib over ldp";
8638                        }8029                        }
8639                      }8030                      }
8640                    }8031                    }
8641                    container nexthop-interfaces {8032                    container nexthop-interfaces {
8642                      description8033                      description
8643                        "Forwarding interface";8034                        "Forwarding interface";
8644                      list nexthop-interface {8035                      list nexthop-interface {
8645                        key "interface-name";8036                        key "interface-name";
8646                        description8037                        description
8647                          "Forwarding interface";8038                          "Forwarding interface";
8648                        leaf interface-name {8039                        leaf interface-name {
8649                          type xr:Interface-name;8040                          type xr:Interface-name;
8650                          description8041                          description
8651                            "Forwarding interface";8042                            "Forwarding interface";
8652                        }8043                        }
8653                        leaf distance-metric {8044                        leaf distance-metric {
8654                          type uint32 {8045                          type uint32 {
8655                            range "1..254" {8046                            range "1..254" {
8656                              description8047                              description
8657                                "Distance metric for this route";8048                                "Distance metric for this route";
8658                            }8049                            }
8659                          }8050                          }
8660                          description8051                          description
8661                            "Distance metric for this route";8052                            "Distance metric for this route";
8662                        }8053                        }
8663                        leaf tag {8054                        leaf tag {
8664                          type uint32 {8055                          type uint32 {
8665                            range "1..4294967295" {8056                            range "1..4294967295" {
8666                              description8057                              description
8667                                "Set tag for this route";8058                                "Set tag for this route";
8668                            }8059                            }
8669                          }8060                          }
8670                          description8061                          description
8671                            "Set tag for this route";8062                            "Set tag for this route";
8672                        }8063                        }
8673                        container permanent {8064                        container permanent {
8674                          presence "Indicates a permanent node is configured.";8065                          presence "Indicates a permanent node is configured.";
8675                          description8066                          description
8676                            "Permanent route";8067                            "Permanent route";
8677                        }8068                        }
8678                        leaf vrflabel {8069                        leaf vrflabel {
8679                          type uint32 {8070                          type uint32 {
8680                            range "0..4294967295" {8071                            range "0..4294967295" {
8681                              description8072                              description
8682                                "VRF label";8073                                "VRF label";
8683                            }8074                            }
8684                          }8075                          }
8685                          description8076                          description
8686                            "VRF label";8077                            "VRF label";
8687                        }8078                        }
8688                        leaf tunnel-id {8079                        leaf tunnel-id {
8689                          type uint32 {8080                          type uint32 {
8690                            range "0..4294967295" {8081                            range "0..4294967295" {
8691                              description8082                              description
8692                                "Tunnel ID";8083                                "Tunnel ID";
8693                            }8084                            }
8694                          }8085                          }
8695                          description8086                          description
8696                            "Tunnel ID";8087                            "Tunnel ID";
8697                        }8088                        }
8698                        leaf description {8089                        leaf description {
8699                          type string {8090                          type string {
8700                            length "1..30" {8091                            length "1..30" {
8701                              description8092                              description
8702                                "short description of static route";8093                                "short description of static route";
8703                            }8094                            }
8704                          }8095                          }
8705                          description8096                          description
8706                            "description of the static route";8097                            "description of the static route";
8707                        }8098                        }
8708                        leaf track {8099                        leaf track {
8709                          type xr:Cisco-ios-xr-string {8100                          type xr:Cisco-ios-xr-string {
8710                            length "1..32" {8101                            length "1..32" {
8711                              description8102                              description
8712                                "Object to be tracked";8103                                "Object to be tracked";
8713                            }8104                            }
8714                          }8105                          }
8715                          description8106                          description
8716                            "Enable object tracking for static route";8107                            "Enable object tracking for static route";
8717                        }8108                        }
8718                        leaf metric {8109                        leaf metric {
8719                          type uint32 {8110                          type uint32 {
8720                            range "1..16777214" {8111                            range "1..16777214" {
8721                              description8112                              description
8722                                "Set metric for this route";8113                                "Set metric for this route";
8723                            }8114                            }
8724                          }8115                          }
8725                          description8116                          description
8726                            "Set metric for this route";8117                            "Set metric for this route";
8727                        }8118                        }
8728                        container prefer-rib-over-ldp {8119                        container prefer-rib-over-ldp {
8729                          presence "Indicates a prefer-rib-over-ldp node is configured.";8120                          presence "Indicates a prefer-rib-over-ldp node is configured.";
8730                          description8121                          description
8731                            "Flag passed to rib to prefer rib over ldp";8122                            "Flag passed to rib to prefer rib over ldp";
8732                        }8123                        }
8733                      }8124                      }
8734                    }8125                    }
8735                    container nexthop-interface-addresses {8126                    container nexthop-interface-addresses {
8736                      description8127                      description
8737                        "Forwarding interface";8128                        "Forwarding interface";
8738                      list nexthop-interface-address {8129                      list nexthop-interface-address {
8739                        key "interface-name address";8130                        key "interface-name address";
8740                        description8131                        description
8741                          "Forwarding interface";8132                          "Forwarding interface";
8742                        leaf interface-name {8133                        leaf interface-name {
8743                          type xr:Interface-name;8134                          type xr:Interface-name;
8744                          description8135                          description
8745                            "Forwarding interface";8136                            "Forwarding interface";
8746                        }8137                        }
8747                        leaf address {8138                        leaf address {
8748                          type inet:ipv4-address-no-zone;8139                          type inet:ipv4-address-no-zone;
8749                          description8140                          description
8750                            "Forwarding router's address";8141                            "Forwarding router's address";
8751                        }8142                        }
8752                        container bfd {8143                        container bfd {
8753                          description8144                          description
8754                            "Configure BFD paramenters";8145                            "Configure BFD paramenters";
8755                          container fast-detect {8146                          container fast-detect {
8756                            presence "Indicates a fast-detect node is configured.";8147                            presence "Indicates a fast-detect node is configured.";
8757                            description8148                            description
8758                              "Enable Fast detection";8149                              "Enable Fast detection";
8759                            leaf minimum-interval {8150                            leaf minimum-interval {
8760                              type uint32 {8151                              type uint32 {
8761                                range "3..30000" {8152                                range "3..30000" {
8762                                  description8153                                  description
8763                                    "interval in milli-seconds";8154                                    "interval in milli-seconds";
8764                                }8155                                }
8765                              }8156                              }
8766                              description8157                              description
8767                                "Hello interval";8158                                "Hello interval";
8768                            }8159                            }
8769                            leaf multiplier {8160                            leaf multiplier {
8770                              type uint32 {8161                              type uint32 {
8771                                range "1..10" {8162                                range "1..10" {
8772                                  description8163                                  description
8773                                    "Detect multiplier";8164                                    "Detect multiplier";
8774                                }8165                                }
8775                              }8166                              }
8776                              description8167                              description
8777                                "Detect multiplier";8168                                "Detect multiplier";
8778                            }8169                            }
8779                          }8170                          }
8780                        }8171                        }
8781                        leaf distance-metric {8172                        leaf distance-metric {
8782                          type uint32 {8173                          type uint32 {
8783                            range "1..254" {8174                            range "1..254" {
8784                              description8175                              description
8785                                "Distance metric for this route";8176                                "Distance metric for this route";
8786                            }8177                            }
8787                          }8178                          }
8788                          description8179                          description
8789                            "Distance metric for this route";8180                            "Distance metric for this route";
8790                        }8181                        }
8791                        leaf tag {8182                        leaf tag {
8792                          type uint32 {8183                          type uint32 {
8793                            range "1..4294967295" {8184                            range "1..4294967295" {
8794                              description8185                              description
8795                                "Set tag for this route";8186                                "Set tag for this route";
8796                            }8187                            }
8797                          }8188                          }
8798                          description8189                          description
8799                            "Set tag for this route";8190                            "Set tag for this route";
8800                        }8191                        }
8801                        container permanent {8192                        container permanent {
8802                          presence "Indicates a permanent node is configured.";8193                          presence "Indicates a permanent node is configured.";
8803                          description8194                          description
8804                            "Permanent route";8195                            "Permanent route";
8805                        }8196                        }
8806                        leaf vrflabel {8197                        leaf vrflabel {
8807                          type uint32 {8198                          type uint32 {
8808                            range "0..4294967295" {8199                            range "0..4294967295" {
8809                              description8200                              description
8810                                "VRF label";8201                                "VRF label";
8811                            }8202                            }
8812                          }8203                          }
8813                          description8204                          description
8814                            "VRF label";8205                            "VRF label";
8815                        }8206                        }
8816                        leaf tunnel-id {8207                        leaf tunnel-id {
8817                          type uint32 {8208                          type uint32 {
8818                            range "0..4294967295" {8209                            range "0..4294967295" {
8819                              description8210                              description
8820                                "Tunnel ID";8211                                "Tunnel ID";
8821                            }8212                            }
8822                          }8213                          }
8823                          description8214                          description
8824                            "Tunnel ID";8215                            "Tunnel ID";
8825                        }8216                        }
8826                        leaf description {8217                        leaf description {
8827                          type string {8218                          type string {
8828                            length "1..30" {8219                            length "1..30" {
8829                              description8220                              description
8830                                "short description of static route";8221                                "short description of static route";
8831                            }8222                            }
8832                          }8223                          }
8833                          description8224                          description
8834                            "description of the static route";8225                            "description of the static route";
8835                        }8226                        }
8836                        leaf track {8227                        leaf track {
8837                          type xr:Cisco-ios-xr-string {8228                          type xr:Cisco-ios-xr-string {
8838                            length "1..32" {8229                            length "1..32" {
8839                              description8230                              description
8840                                "Object to be tracked";8231                                "Object to be tracked";
8841                            }8232                            }
8842                          }8233                          }
8843                          description8234                          description
8844                            "Enable object tracking for static route";8235                            "Enable object tracking for static route";
8845                        }8236                        }
8846                        leaf metric {8237                        leaf metric {
8847                          type uint32 {8238                          type uint32 {
8848                            range "1..16777214" {8239                            range "1..16777214" {
8849                              description8240                              description
8850                                "Set metric for this route";8241                                "Set metric for this route";
8851                            }8242                            }
8852                          }8243                          }
8853                          description8244                          description
8854                            "Set metric for this route";8245                            "Set metric for this route";
8855                        }8246                        }
8856                        container prefer-rib-over-ldp {8247                        container prefer-rib-over-ldp {
8857                          presence "Indicates a prefer-rib-over-ldp node is configured.";8248                          presence "Indicates a prefer-rib-over-ldp node is configured.";
8858                          description8249                          description
8859                            "Flag passed to rib to prefer rib over ldp";8250                            "Flag passed to rib to prefer rib over ldp";
8860                        }8251                        }
8861                      }8252                      }
8862                    }8253                    }
8863                    container nexthop-addresses {8254                    container nexthop-addresses {
8864                      description8255                      description
8865                        "Forwarding router's address";8256                        "Forwarding router's address";
8866                      list nexthop-address {8257                      list nexthop-address {
8867                        key "address";8258                        key "address";
8868                        description8259                        description
8869                          "Forwarding router's address";8260                          "Forwarding router's address";
8870                        leaf address {8261                        leaf address {
8871                          type inet:ipv4-address-no-zone;8262                          type inet:ipv4-address-no-zone;
8872                          description8263                          description
8873                            "Forwarding router's address";8264                            "Forwarding router's address";
8874                        }8265                        }
8875                        container bfd {8266                        container bfd {
8876                          description8267                          description
8877                            "Configure BFD paramenters";8268                            "Configure BFD paramenters";
8878                          container fast-detect {8269                          container fast-detect {
8879                            presence "Indicates a fast-detect node is configured.";8270                            presence "Indicates a fast-detect node is configured.";
8880                            description8271                            description
8881                              "Enable Fast detection";8272                              "Enable Fast detection";
8882                            leaf minimum-interval {8273                            leaf minimum-interval {
8883                              type uint32 {8274                              type uint32 {
8884                                range "3..30000" {8275                                range "3..30000" {
8885                                  description8276                                  description
8886                                    "interval in milli-seconds";8277                                    "interval in milli-seconds";
8887                                }8278                                }
8888                              }8279                              }
8889                              description8280                              description
8890                                "Hello interval";8281                                "Hello interval";
8891                            }8282                            }
8892                            leaf multiplier {8283                            leaf multiplier {
8893                              type uint32 {8284                              type uint32 {
8894                                range "1..10" {8285                                range "1..10" {
8895                                  description8286                                  description
8896                                    "Detect multiplier";8287                                    "Detect multiplier";
8897                                }8288                                }
8898                              }8289                              }
8899                              description8290                              description
8900                                "Detect multiplier";8291                                "Detect multiplier";
8901                            }8292                            }
8902                            container multihop {8293                            container multihop {
8903                              presence "Indicates a multihop node is configured.";8294                              presence "Indicates a multihop node is configured.";
8904                              description8295                              description
8905                                "Enable BFD Multihop";8296                                "Enable BFD Multihop";
8906                              leaf address {8297                              leaf address {
8907                                type inet:ipv4-address-no-zone;8298                                type inet:ipv4-address-no-zone;
8908                                mandatory true;8299                                mandatory true;
8909                                description8300                                description
8910                                  "Source address";8301                                  "Source address";
8911                              }8302                              }
8912                            }8303                            }
8913                          }8304                          }
8914                        }8305                        }
8915                        leaf distance-metric {8306                        leaf distance-metric {
8916                          type uint32 {8307                          type uint32 {
8917                            range "1..254" {8308                            range "1..254" {
8918                              description8309                              description
8919                                "Distance metric for this route";8310                                "Distance metric for this route";
8920                            }8311                            }
8921                          }8312                          }
8922                          description8313                          description
8923                            "Distance metric for this route";8314                            "Distance metric for this route";
8924                        }8315                        }
8925                        leaf tag {8316                        leaf tag {
8926                          type uint32 {8317                          type uint32 {
8927                            range "1..4294967295" {8318                            range "1..4294967295" {
8928                              description8319                              description
8929                                "Set tag for this route";8320                                "Set tag for this route";
8930                            }8321                            }
8931                          }8322                          }
8932                          description8323                          description
8933                            "Set tag for this route";8324                            "Set tag for this route";
8934                        }8325                        }
8935                        container permanent {8326                        container permanent {
8936                          presence "Indicates a permanent node is configured.";8327                          presence "Indicates a permanent node is configured.";
8937                          description8328                          description
8938                            "Permanent route";8329                            "Permanent route";
8939                        }8330                        }
8940                        leaf vrflabel {8331                        leaf vrflabel {
8941                          type uint32 {8332                          type uint32 {
8942                            range "0..4294967295" {8333                            range "0..4294967295" {
8943                              description8334                              description
8944                                "VRF label";8335                                "VRF label";
8945                            }8336                            }
8946                          }8337                          }
8947                          description8338                          description
8948                            "VRF label";8339                            "VRF label";
8949                        }8340                        }
8950                        leaf tunnel-id {8341                        leaf tunnel-id {
8951                          type uint32 {8342                          type uint32 {
8952                            range "0..4294967295" {8343                            range "0..4294967295" {
8953                              description8344                              description
8954                                "Tunnel ID";8345                                "Tunnel ID";
8955                            }8346                            }
8956                          }8347                          }
8957                          description8348                          description
8958                            "Tunnel ID";8349                            "Tunnel ID";
8959                        }8350                        }
8960                        leaf description {8351                        leaf description {
8961                          type string {8352                          type string {
8962                            length "1..30" {8353                            length "1..30" {
8963                              description8354                              description
8964                                "short description of static route";8355                                "short description of static route";
8965                            }8356                            }
8966                          }8357                          }
8967                          description8358                          description
8968                            "description of the static route";8359                            "description of the static route";
8969                        }8360                        }
8970                        leaf track {8361                        leaf track {
8971                          type xr:Cisco-ios-xr-string {8362                          type xr:Cisco-ios-xr-string {
8972                            length "1..32" {8363                            length "1..32" {
8973                              description8364                              description
8974                                "Object to be tracked";8365                                "Object to be tracked";
8975                            }8366                            }
8976                          }8367                          }
8977                          description8368                          description
8978                            "Enable object tracking for static route";8369                            "Enable object tracking for static route";
8979                        }8370                        }
8980                        leaf metric {8371                        leaf metric {
8981                          type uint32 {8372                          type uint32 {
8982                            range "1..16777214" {8373                            range "1..16777214" {
8983                              description8374                              description
8984                                "Set metric for this route";8375                                "Set metric for this route";
8985                            }8376                            }
8986                          }8377                          }
8987                          description8378                          description
8988                            "Set metric for this route";8379                            "Set metric for this route";
8989                        }8380                        }
8990                        container prefer-rib-over-ldp {8381                        container prefer-rib-over-ldp {
8991                          presence "Indicates a prefer-rib-over-ldp node is configured.";8382                          presence "Indicates a prefer-rib-over-ldp node is configured.";
8992                          description8383                          description
8993                            "Flag passed to rib to prefer rib over ldp";8384                            "Flag passed to rib to prefer rib over ldp";
8994                        }8385                        }
8995                      }8386                      }
8996                      list nexthop-address-segment-routing {8387                      list nexthop-address-segment-routing {
8997                        key "address mpls-path-name";8388                        key "address mpls-path-name";
8998                        description8389                        description
8999                          "Forwarding router's address";8390                          "Forwarding router's address";
9000                        leaf address {8391                        leaf address {
9001                          type inet:ipv4-address-no-zone;8392                          type inet:ipv4-address-no-zone;
9002                          description8393                          description
9003                            "Forwarding router's address";8394                            "Forwarding router's address";
9004                        }8395                        }
9005                        leaf mpls-path-name {8396                        leaf mpls-path-name {
9006                          type xr:Cisco-ios-xr-string {8397                          type xr:Cisco-ios-xr-string {
9007                            length "1..1024" {8398                            length "1..1024" {
9008                              description8399                              description
9009                                "Path name";8400                                "Path name";
9010                            }8401                            }
9011                          }8402                          }
9012                          description8403                          description
9013                            "Configure path name";8404                            "Configure path name";
9014                        }8405                        }
9015                        leaf distance-metric {8406                        leaf distance-metric {
9016                          type uint32 {8407                          type uint32 {
9017                            range "1..254" {8408                            range "1..254" {
9018                              description8409                              description
9019                                "Distance metric for this route";8410                                "Distance metric for this route";
9020                            }8411                            }
9021                          }8412                          }
9022                          description8413                          description
9023                            "Distance metric for this route";8414                            "Distance metric for this route";
9024                        }8415                        }
9025                        leaf tag {8416                        leaf tag {
9026                          type uint32 {8417                          type uint32 {
9027                            range "1..4294967295" {8418                            range "1..4294967295" {
9028                              description8419                              description
9029                                "Set tag for this route";8420                                "Set tag for this route";
9030                            }8421                            }
9031                          }8422                          }
9032                          description8423                          description
9033                            "Set tag for this route";8424                            "Set tag for this route";
9034                        }8425                        }
9035                        leaf description {8426                        leaf description {
9036                          type string {8427                          type string {
9037                            length "1..30" {8428                            length "1..30" {
9038                              description8429                              description
9039                                "short description of static route";8430                                "short description of static route";
9040                            }8431                            }
9041                          }8432                          }
9042                          description8433                          description
9043                            "description of the static route";8434                            "description of the static route";
9044                        }8435                        }
9045                        leaf metric {8436                        leaf metric {
9046                          type uint32 {8437                          type uint32 {
9047                            range "1..16777214" {8438                            range "1..16777214" {
9048                              description8439                              description
9049                                "Set metric for this route";8440                                "Set metric for this route";
9050                            }8441                            }
9051                          }8442                          }
9052                          description8443                          description
9053                            "Set metric for this route";8444                            "Set metric for this route";
9054                        }8445                        }
9055                      }8446                      }
9056                    }8447                    }
9057                    container vrfs {8448                    container vrfs {
9058                      description8449                      description
9059                        "Destination VRF";8450                        "Destination VRF";
9060                      list vrf-only {8451                      list vrf-only {
9061                        key "vrf-name";8452                        key "vrf-name";
9062                        description8453                        description
9063                          "Destination only VRF";8454                          "Destination only VRF";
9064                        leaf vrf-name {8455                        leaf vrf-name {
9065                          type xr:Cisco-ios-xr-string {8456                          type xr:Cisco-ios-xr-string {
9066                            length "1..32" {8457                            length "1..32" {
9067                              description8458                              description
9068                                "VRF name";8459                                "VRF name";
9069                            }8460                            }
9070                          }8461                          }
9071                          description8462                          description
9072                            "Destination VRF";8463                            "Destination VRF";
9073                        }8464                        }
n9074                        leaf description {n
9075                          type string {
9076                            length "1..254" {
9077                              description
9078                                "short description of static route";
9079                            }
9080                          }
9081                          description
9082                            "description of the static route";
9083                        }
9084                      }8465                      }
9085                      list vrf {8466                      list vrf {
9086                        must8467                        must
9087                          "sr-policies/sr-policy or8468                          "sr-policies/sr-policy or
9088                           nexthop-interfaces/nexthop-interface or8469                           nexthop-interfaces/nexthop-interface or
9089                           nexthop-interface-addresses/nexthop-interface-address or8470                           nexthop-interface-addresses/nexthop-interface-address or
9090                           nexthop-addresses/nexthop-address";8471                           nexthop-addresses/nexthop-address";
9091                        key "vrf-name";8472                        key "vrf-name";
9092                        description8473                        description
9093                          "Destination VRF";8474                          "Destination VRF";
9094                        leaf vrf-name {8475                        leaf vrf-name {
9095                          type xr:Cisco-ios-xr-string {8476                          type xr:Cisco-ios-xr-string {
9096                            length "1..32" {8477                            length "1..32" {
9097                              description8478                              description
9098                                "VRF name";8479                                "VRF name";
9099                            }8480                            }
9100                          }8481                          }
9101                          description8482                          description
9102                            "Destination VRF";8483                            "Destination VRF";
9103                        }8484                        }
9104                        container sr-policies {8485                        container sr-policies {
9105                          description8486                          description
9106                            "segment routing policy";8487                            "segment routing policy";
9107                          list sr-policy {8488                          list sr-policy {
9108                            key "sr-policy-name";8489                            key "sr-policy-name";
9109                            description8490                            description
9110                              "segment routing policy";8491                              "segment routing policy";
9111                            leaf sr-policy-name {8492                            leaf sr-policy-name {
9112                              type xr:Cisco-ios-xr-string {8493                              type xr:Cisco-ios-xr-string {
9113                                length "1..1024" {8494                                length "1..1024" {
9114                                  description8495                                  description
9115                                    "SR policy name";8496                                    "SR policy name";
9116                                }8497                                }
9117                              }8498                              }
9118                              description8499                              description
9119                                "segment routing policy";8500                                "segment routing policy";
9120                            }8501                            }
9121                            leaf distance-metric {8502                            leaf distance-metric {
9122                              type uint32 {8503                              type uint32 {
9123                                range "1..254" {8504                                range "1..254" {
9124                                  description8505                                  description
9125                                    "Distance metric for this route";8506                                    "Distance metric for this route";
9126                                }8507                                }
9127                              }8508                              }
9128                              description8509                              description
9129                                "Distance metric for this route";8510                                "Distance metric for this route";
9130                            }8511                            }
9131                            leaf tag {8512                            leaf tag {
9132                              type uint32 {8513                              type uint32 {
9133                                range "1..4294967295" {8514                                range "1..4294967295" {
9134                                  description8515                                  description
9135                                    "Set tag for this route";8516                                    "Set tag for this route";
9136                                }8517                                }
9137                              }8518                              }
9138                              description8519                              description
9139                                "Set tag for this route";8520                                "Set tag for this route";
9140                            }8521                            }
9141                            container permanent {8522                            container permanent {
9142                              presence "Indicates a permanent node is configured.";8523                              presence "Indicates a permanent node is configured.";
9143                              description8524                              description
9144                                "Permanent route";8525                                "Permanent route";
9145                            }8526                            }
9146                            leaf vrflabel {8527                            leaf vrflabel {
9147                              type uint32 {8528                              type uint32 {
9148                                range "0..4294967295" {8529                                range "0..4294967295" {
9149                                  description8530                                  description
9150                                    "VRF label";8531                                    "VRF label";
9151                                }8532                                }
9152                              }8533                              }
9153                              description8534                              description
9154                                "VRF label";8535                                "VRF label";
9155                            }8536                            }
9156                            leaf tunnel-id {8537                            leaf tunnel-id {
9157                              type uint32 {8538                              type uint32 {
9158                                range "0..4294967295" {8539                                range "0..4294967295" {
9159                                  description8540                                  description
9160                                    "Tunnel ID";8541                                    "Tunnel ID";
9161                                }8542                                }
9162                              }8543                              }
9163                              description8544                              description
9164                                "Tunnel ID";8545                                "Tunnel ID";
9165                            }8546                            }
9166                            leaf description {8547                            leaf description {
9167                              type string {8548                              type string {
9168                                length "1..30" {8549                                length "1..30" {
9169                                  description8550                                  description
9170                                    "short description of static route";8551                                    "short description of static route";
9171                                }8552                                }
9172                              }8553                              }
9173                              description8554                              description
9174                                "description of the static route";8555                                "description of the static route";
9175                            }8556                            }
9176                            leaf track {8557                            leaf track {
9177                              type xr:Cisco-ios-xr-string {8558                              type xr:Cisco-ios-xr-string {
9178                                length "1..32" {8559                                length "1..32" {
9179                                  description8560                                  description
9180                                    "Object to be tracked";8561                                    "Object to be tracked";
9181                                }8562                                }
9182                              }8563                              }
9183                              description8564                              description
9184                                "Enable object tracking for static route";8565                                "Enable object tracking for static route";
9185                            }8566                            }
9186                            leaf metric {8567                            leaf metric {
9187                              type uint32 {8568                              type uint32 {
9188                                range "1..16777214" {8569                                range "1..16777214" {
9189                                  description8570                                  description
9190                                    "Set metric for this route";8571                                    "Set metric for this route";
9191                                }8572                                }
9192                              }8573                              }
9193                              description8574                              description
9194                                "Set metric for this route";8575                                "Set metric for this route";
9195                            }8576                            }
9196                            container prefer-rib-over-ldp {8577                            container prefer-rib-over-ldp {
9197                              presence "Indicates a prefer-rib-over-ldp node is configured.";8578                              presence "Indicates a prefer-rib-over-ldp node is configured.";
9198                              description8579                              description
9199                                "Flag passed to rib to prefer rib over ldp";8580                                "Flag passed to rib to prefer rib over ldp";
9200                            }8581                            }
9201                          }8582                          }
9202                        }8583                        }
9203                        container nexthop-interfaces {8584                        container nexthop-interfaces {
9204                          description8585                          description
9205                            "Forwarding interface";8586                            "Forwarding interface";
9206                          list nexthop-interface {8587                          list nexthop-interface {
9207                            key "interface-name";8588                            key "interface-name";
9208                            description8589                            description
9209                              "Forwarding interface";8590                              "Forwarding interface";
9210                            leaf interface-name {8591                            leaf interface-name {
9211                              type xr:Interface-name;8592                              type xr:Interface-name;
9212                              description8593                              description
9213                                "Forwarding interface";8594                                "Forwarding interface";
9214                            }8595                            }
9215                            leaf distance-metric {8596                            leaf distance-metric {
9216                              type uint32 {8597                              type uint32 {
9217                                range "1..254" {8598                                range "1..254" {
9218                                  description8599                                  description
9219                                    "Distance metric for this route";8600                                    "Distance metric for this route";
9220                                }8601                                }
9221                              }8602                              }
9222                              description8603                              description
9223                                "Distance metric for this route";8604                                "Distance metric for this route";
9224                            }8605                            }
9225                            leaf tag {8606                            leaf tag {
9226                              type uint32 {8607                              type uint32 {
9227                                range "1..4294967295" {8608                                range "1..4294967295" {
9228                                  description8609                                  description
9229                                    "Set tag for this route";8610                                    "Set tag for this route";
9230                                }8611                                }
9231                              }8612                              }
9232                              description8613                              description
9233                                "Set tag for this route";8614                                "Set tag for this route";
9234                            }8615                            }
9235                            container permanent {8616                            container permanent {
9236                              presence "Indicates a permanent node is configured.";8617                              presence "Indicates a permanent node is configured.";
9237                              description8618                              description
9238                                "Permanent route";8619                                "Permanent route";
9239                            }8620                            }
9240                            leaf vrflabel {8621                            leaf vrflabel {
9241                              type uint32 {8622                              type uint32 {
9242                                range "0..4294967295" {8623                                range "0..4294967295" {
9243                                  description8624                                  description
9244                                    "VRF label";8625                                    "VRF label";
9245                                }8626                                }
9246                              }8627                              }
9247                              description8628                              description
9248                                "VRF label";8629                                "VRF label";
9249                            }8630                            }
9250                            leaf tunnel-id {8631                            leaf tunnel-id {
9251                              type uint32 {8632                              type uint32 {
9252                                range "0..4294967295" {8633                                range "0..4294967295" {
9253                                  description8634                                  description
9254                                    "Tunnel ID";8635                                    "Tunnel ID";
9255                                }8636                                }
9256                              }8637                              }
9257                              description8638                              description
9258                                "Tunnel ID";8639                                "Tunnel ID";
9259                            }8640                            }
9260                            leaf description {8641                            leaf description {
9261                              type string {8642                              type string {
9262                                length "1..30" {8643                                length "1..30" {
9263                                  description8644                                  description
9264                                    "short description of static route";8645                                    "short description of static route";
9265                                }8646                                }
9266                              }8647                              }
9267                              description8648                              description
9268                                "description of the static route";8649                                "description of the static route";
9269                            }8650                            }
9270                            leaf track {8651                            leaf track {
9271                              type xr:Cisco-ios-xr-string {8652                              type xr:Cisco-ios-xr-string {
9272                                length "1..32" {8653                                length "1..32" {
9273                                  description8654                                  description
9274                                    "Object to be tracked";8655                                    "Object to be tracked";
9275                                }8656                                }
9276                              }8657                              }
9277                              description8658                              description
9278                                "Enable object tracking for static route";8659                                "Enable object tracking for static route";
9279                            }8660                            }
9280                            leaf metric {8661                            leaf metric {
9281                              type uint32 {8662                              type uint32 {
9282                                range "1..16777214" {8663                                range "1..16777214" {
9283                                  description8664                                  description
9284                                    "Set metric for this route";8665                                    "Set metric for this route";
9285                                }8666                                }
9286                              }8667                              }
9287                              description8668                              description
9288                                "Set metric for this route";8669                                "Set metric for this route";
9289                            }8670                            }
9290                            container prefer-rib-over-ldp {8671                            container prefer-rib-over-ldp {
9291                              presence "Indicates a prefer-rib-over-ldp node is configured.";8672                              presence "Indicates a prefer-rib-over-ldp node is configured.";
9292                              description8673                              description
9293                                "Flag passed to rib to prefer rib over ldp";8674                                "Flag passed to rib to prefer rib over ldp";
9294                            }8675                            }
9295                          }8676                          }
9296                        }8677                        }
9297                        container nexthop-interface-addresses {8678                        container nexthop-interface-addresses {
9298                          description8679                          description
9299                            "Forwarding interface";8680                            "Forwarding interface";
9300                          list nexthop-interface-address {8681                          list nexthop-interface-address {
9301                            key "interface-name address";8682                            key "interface-name address";
9302                            description8683                            description
9303                              "Forwarding interface";8684                              "Forwarding interface";
9304                            leaf interface-name {8685                            leaf interface-name {
9305                              type xr:Interface-name;8686                              type xr:Interface-name;
9306                              description8687                              description
9307                                "Forwarding interface";8688                                "Forwarding interface";
9308                            }8689                            }
9309                            leaf address {8690                            leaf address {
9310                              type inet:ipv4-address-no-zone;8691                              type inet:ipv4-address-no-zone;
9311                              description8692                              description
9312                                "Forwarding router's address";8693                                "Forwarding router's address";
9313                            }8694                            }
9314                            container bfd {8695                            container bfd {
9315                              description8696                              description
9316                                "Configure BFD paramenters";8697                                "Configure BFD paramenters";
9317                              container fast-detect {8698                              container fast-detect {
9318                                presence "Indicates a fast-detect node is configured.";8699                                presence "Indicates a fast-detect node is configured.";
9319                                description8700                                description
9320                                  "Enable Fast detection";8701                                  "Enable Fast detection";
9321                                leaf minimum-interval {8702                                leaf minimum-interval {
9322                                  type uint32 {8703                                  type uint32 {
9323                                    range "3..30000" {8704                                    range "3..30000" {
9324                                      description8705                                      description
9325                                        "interval in milli-seconds";8706                                        "interval in milli-seconds";
9326                                    }8707                                    }
9327                                  }8708                                  }
9328                                  description8709                                  description
9329                                    "Hello interval";8710                                    "Hello interval";
9330                                }8711                                }
9331                                leaf multiplier {8712                                leaf multiplier {
9332                                  type uint32 {8713                                  type uint32 {
9333                                    range "1..10" {8714                                    range "1..10" {
9334                                      description8715                                      description
9335                                        "Detect multiplier";8716                                        "Detect multiplier";
9336                                    }8717                                    }
9337                                  }8718                                  }
9338                                  description8719                                  description
9339                                    "Detect multiplier";8720                                    "Detect multiplier";
9340                                }8721                                }
9341                              }8722                              }
9342                            }8723                            }
9343                            leaf distance-metric {8724                            leaf distance-metric {
9344                              type uint32 {8725                              type uint32 {
9345                                range "1..254" {8726                                range "1..254" {
9346                                  description8727                                  description
9347                                    "Distance metric for this route";8728                                    "Distance metric for this route";
9348                                }8729                                }
9349                              }8730                              }
9350                              description8731                              description
9351                                "Distance metric for this route";8732                                "Distance metric for this route";
9352                            }8733                            }
9353                            leaf tag {8734                            leaf tag {
9354                              type uint32 {8735                              type uint32 {
9355                                range "1..4294967295" {8736                                range "1..4294967295" {
9356                                  description8737                                  description
9357                                    "Set tag for this route";8738                                    "Set tag for this route";
9358                                }8739                                }
9359                              }8740                              }
9360                              description8741                              description
9361                                "Set tag for this route";8742                                "Set tag for this route";
9362                            }8743                            }
9363                            container permanent {8744                            container permanent {
9364                              presence "Indicates a permanent node is configured.";8745                              presence "Indicates a permanent node is configured.";
9365                              description8746                              description
9366                                "Permanent route";8747                                "Permanent route";
9367                            }8748                            }
9368                            leaf vrflabel {8749                            leaf vrflabel {
9369                              type uint32 {8750                              type uint32 {
9370                                range "0..4294967295" {8751                                range "0..4294967295" {
9371                                  description8752                                  description
9372                                    "VRF label";8753                                    "VRF label";
9373                                }8754                                }
9374                              }8755                              }
9375                              description8756                              description
9376                                "VRF label";8757                                "VRF label";
9377                            }8758                            }
9378                            leaf tunnel-id {8759                            leaf tunnel-id {
9379                              type uint32 {8760                              type uint32 {
9380                                range "0..4294967295" {8761                                range "0..4294967295" {
9381                                  description8762                                  description
9382                                    "Tunnel ID";8763                                    "Tunnel ID";
9383                                }8764                                }
9384                              }8765                              }
9385                              description8766                              description
9386                                "Tunnel ID";8767                                "Tunnel ID";
9387                            }8768                            }
9388                            leaf description {8769                            leaf description {
9389                              type string {8770                              type string {
9390                                length "1..30" {8771                                length "1..30" {
9391                                  description8772                                  description
9392                                    "short description of static route";8773                                    "short description of static route";
9393                                }8774                                }
9394                              }8775                              }
9395                              description8776                              description
9396                                "description of the static route";8777                                "description of the static route";
9397                            }8778                            }
9398                            leaf track {8779                            leaf track {
9399                              type xr:Cisco-ios-xr-string {8780                              type xr:Cisco-ios-xr-string {
9400                                length "1..32" {8781                                length "1..32" {
9401                                  description8782                                  description
9402                                    "Object to be tracked";8783                                    "Object to be tracked";
9403                                }8784                                }
9404                              }8785                              }
9405                              description8786                              description
9406                                "Enable object tracking for static route";8787                                "Enable object tracking for static route";
9407                            }8788                            }
9408                            leaf metric {8789                            leaf metric {
9409                              type uint32 {8790                              type uint32 {
9410                                range "1..16777214" {8791                                range "1..16777214" {
9411                                  description8792                                  description
9412                                    "Set metric for this route";8793                                    "Set metric for this route";
9413                                }8794                                }
9414                              }8795                              }
9415                              description8796                              description
9416                                "Set metric for this route";8797                                "Set metric for this route";
9417                            }8798                            }
9418                            container prefer-rib-over-ldp {8799                            container prefer-rib-over-ldp {
9419                              presence "Indicates a prefer-rib-over-ldp node is configured.";8800                              presence "Indicates a prefer-rib-over-ldp node is configured.";
9420                              description8801                              description
9421                                "Flag passed to rib to prefer rib over ldp";8802                                "Flag passed to rib to prefer rib over ldp";
9422                            }8803                            }
9423                          }8804                          }
9424                        }8805                        }
9425                        container nexthop-addresses {8806                        container nexthop-addresses {
9426                          description8807                          description
9427                            "Forwarding router's address";8808                            "Forwarding router's address";
9428                          list nexthop-address {8809                          list nexthop-address {
9429                            key "address";8810                            key "address";
9430                            description8811                            description
9431                              "Forwarding router's address";8812                              "Forwarding router's address";
9432                            leaf address {8813                            leaf address {
9433                              type inet:ipv4-address-no-zone;8814                              type inet:ipv4-address-no-zone;
9434                              description8815                              description
9435                                "Forwarding router's address";8816                                "Forwarding router's address";
9436                            }8817                            }
9437                            container bfd {8818                            container bfd {
9438                              description8819                              description
9439                                "Configure BFD paramenters";8820                                "Configure BFD paramenters";
9440                              container fast-detect {8821                              container fast-detect {
9441                                presence "Indicates a fast-detect node is configured.";8822                                presence "Indicates a fast-detect node is configured.";
9442                                description8823                                description
9443                                  "Enable Fast detection";8824                                  "Enable Fast detection";
9444                                leaf minimum-interval {8825                                leaf minimum-interval {
9445                                  type uint32 {8826                                  type uint32 {
9446                                    range "3..30000" {8827                                    range "3..30000" {
9447                                      description8828                                      description
9448                                        "interval in milli-seconds";8829                                        "interval in milli-seconds";
9449                                    }8830                                    }
9450                                  }8831                                  }
9451                                  description8832                                  description
9452                                    "Hello interval";8833                                    "Hello interval";
9453                                }8834                                }
9454                                leaf multiplier {8835                                leaf multiplier {
9455                                  type uint32 {8836                                  type uint32 {
9456                                    range "1..10" {8837                                    range "1..10" {
9457                                      description8838                                      description
9458                                        "Detect multiplier";8839                                        "Detect multiplier";
9459                                    }8840                                    }
9460                                  }8841                                  }
9461                                  description8842                                  description
9462                                    "Detect multiplier";8843                                    "Detect multiplier";
9463                                }8844                                }
9464                                container multihop {8845                                container multihop {
9465                                  presence "Indicates a multihop node is configured.";8846                                  presence "Indicates a multihop node is configured.";
9466                                  description8847                                  description
9467                                    "Enable BFD Multihop";8848                                    "Enable BFD Multihop";
9468                                  leaf address {8849                                  leaf address {
9469                                    type inet:ipv4-address-no-zone;8850                                    type inet:ipv4-address-no-zone;
9470                                    mandatory true;8851                                    mandatory true;
9471                                    description8852                                    description
9472                                      "Source address";8853                                      "Source address";
9473                                  }8854                                  }
9474                                }8855                                }
9475                              }8856                              }
9476                            }8857                            }
9477                            leaf distance-metric {8858                            leaf distance-metric {
9478                              type uint32 {8859                              type uint32 {
9479                                range "1..254" {8860                                range "1..254" {
9480                                  description8861                                  description
9481                                    "Distance metric for this route";8862                                    "Distance metric for this route";
9482                                }8863                                }
9483                              }8864                              }
9484                              description8865                              description
9485                                "Distance metric for this route";8866                                "Distance metric for this route";
9486                            }8867                            }
9487                            leaf tag {8868                            leaf tag {
9488                              type uint32 {8869                              type uint32 {
9489                                range "1..4294967295" {8870                                range "1..4294967295" {
9490                                  description8871                                  description
9491                                    "Set tag for this route";8872                                    "Set tag for this route";
9492                                }8873                                }
9493                              }8874                              }
9494                              description8875                              description
9495                                "Set tag for this route";8876                                "Set tag for this route";
9496                            }8877                            }
9497                            container permanent {8878                            container permanent {
9498                              presence "Indicates a permanent node is configured.";8879                              presence "Indicates a permanent node is configured.";
9499                              description8880                              description
9500                                "Permanent route";8881                                "Permanent route";
9501                            }8882                            }
9502                            leaf vrflabel {8883                            leaf vrflabel {
9503                              type uint32 {8884                              type uint32 {
9504                                range "0..4294967295" {8885                                range "0..4294967295" {
9505                                  description8886                                  description
9506                                    "VRF label";8887                                    "VRF label";
9507                                }8888                                }
9508                              }8889                              }
9509                              description8890                              description
9510                                "VRF label";8891                                "VRF label";
9511                            }8892                            }
9512                            leaf tunnel-id {8893                            leaf tunnel-id {
9513                              type uint32 {8894                              type uint32 {
9514                                range "0..4294967295" {8895                                range "0..4294967295" {
9515                                  description8896                                  description
9516                                    "Tunnel ID";8897                                    "Tunnel ID";
9517                                }8898                                }
9518                              }8899                              }
9519                              description8900                              description
9520                                "Tunnel ID";8901                                "Tunnel ID";
9521                            }8902                            }
9522                            leaf description {8903                            leaf description {
9523                              type string {8904                              type string {
9524                                length "1..30" {8905                                length "1..30" {
9525                                  description8906                                  description
9526                                    "short description of static route";8907                                    "short description of static route";
9527                                }8908                                }
9528                              }8909                              }
9529                              description8910                              description
9530                                "description of the static route";8911                                "description of the static route";
9531                            }8912                            }
9532                            leaf track {8913                            leaf track {
9533                              type xr:Cisco-ios-xr-string {8914                              type xr:Cisco-ios-xr-string {
9534                                length "1..32" {8915                                length "1..32" {
9535                                  description8916                                  description
9536                                    "Object to be tracked";8917                                    "Object to be tracked";
9537                                }8918                                }
9538                              }8919                              }
9539                              description8920                              description
9540                                "Enable object tracking for static route";8921                                "Enable object tracking for static route";
9541                            }8922                            }
9542                            leaf metric {8923                            leaf metric {
9543                              type uint32 {8924                              type uint32 {
9544                                range "1..16777214" {8925                                range "1..16777214" {
9545                                  description8926                                  description
9546                                    "Set metric for this route";8927                                    "Set metric for this route";
9547                                }8928                                }
9548                              }8929                              }
9549                              description8930                              description
9550                                "Set metric for this route";8931                                "Set metric for this route";
9551                            }8932                            }
9552                            container prefer-rib-over-ldp {8933                            container prefer-rib-over-ldp {
9553                              presence "Indicates a prefer-rib-over-ldp node is configured.";8934                              presence "Indicates a prefer-rib-over-ldp node is configured.";
9554                              description8935                              description
9555                                "Flag passed to rib to prefer rib over ldp";8936                                "Flag passed to rib to prefer rib over ldp";
9556                            }8937                            }
9557                          }8938                          }
9558                        }8939                        }
9559                      }8940                      }
9560                    }8941                    }
9561                  }8942                  }
9562                }8943                }
9563              }8944              }
9564            }8945            }
9565            container ipv6 {8946            container ipv6 {
9566              description8947              description
9567                "IPv6 commands";8948                "IPv6 commands";
9568              container unicast {8949              container unicast {
9569                description8950                description
9570                  "Unicast commands";8951                  "Unicast commands";
9571                container prefixes {8952                container prefixes {
9572                  description8953                  description
9573                    "Destination prefix";8954                    "Destination prefix";
9574                  list prefix {8955                  list prefix {
9575                    must8956                    must
9576                      "segment-routing/mpls/path/names/name or8957                      "segment-routing/mpls/path/names/name or
n9577                       remote-next-hop/addresses/address/tunnel/vxlan/indexes/index orn
9578                       sr-policies/sr-policy or8958                       sr-policies/sr-policy or
9579                       nexthop-interfaces/nexthop-interface or8959                       nexthop-interfaces/nexthop-interface or
9580                       nexthop-interface-addresses/nexthop-interface-address or8960                       nexthop-interface-addresses/nexthop-interface-address or
9581                       nexthop-addresses/nexthop-address or8961                       nexthop-addresses/nexthop-address or
9582                       nexthop-addresses/nexthop-address-segment-routing or8962                       nexthop-addresses/nexthop-address-segment-routing or
9583                       vrfs/vrf-only or vrfs/vrf/sr-policies/sr-policy or8963                       vrfs/vrf-only or vrfs/vrf/sr-policies/sr-policy or
9584                       vrfs/vrf/nexthop-interfaces/nexthop-interface or8964                       vrfs/vrf/nexthop-interfaces/nexthop-interface or
9585                       vrfs/vrf/nexthop-interface-addresses/nexthop-interface-address or8965                       vrfs/vrf/nexthop-interface-addresses/nexthop-interface-address or
9586                       vrfs/vrf/nexthop-addresses/nexthop-address";8966                       vrfs/vrf/nexthop-addresses/nexthop-address";
9587                    key "prefix-address prefix-length";8967                    key "prefix-address prefix-length";
9588                    description8968                    description
9589                      "Destination prefix";8969                      "Destination prefix";
9590                    leaf prefix-address {8970                    leaf prefix-address {
9591                      type inet:ipv6-address-no-zone;8971                      type inet:ipv6-address-no-zone;
9592                      description8972                      description
9593                        "Destination prefix";8973                        "Destination prefix";
9594                    }8974                    }
9595                    leaf prefix-length {8975                    leaf prefix-length {
9596                      type uint32 {8976                      type uint32 {
9597                        range "0..128";8977                        range "0..128";
9598                      }8978                      }
9599                      description8979                      description
9600                        "Destination prefix length";8980                        "Destination prefix length";
9601                    }8981                    }
9602                    container segment-routing {8982                    container segment-routing {
9603                      description8983                      description
9604                        "Configure Static Segment Routing";8984                        "Configure Static Segment Routing";
9605                      container mpls {8985                      container mpls {
9606                        description8986                        description
9607                          "Configure mpls path name";8987                          "Configure mpls path name";
9608                        container path {8988                        container path {
9609                          description8989                          description
9610                            "Configure path name";8990                            "Configure path name";
9611                          container names {8991                          container names {
9612                            description8992                            description
9613                              "Configure path name";8993                              "Configure path name";
9614                            list name {8994                            list name {
9615                              key "path-name";8995                              key "path-name";
9616                              description8996                              description
9617                                "Configure path name";8997                                "Configure path name";
9618                              leaf path-name {8998                              leaf path-name {
9619                                type xr:Cisco-ios-xr-string {8999                                type xr:Cisco-ios-xr-string {
9620                                  length "1..1024" {9000                                  length "1..1024" {
9621                                    description9001                                    description
9622                                      "Path name";9002                                      "Path name";
9623                                  }9003                                  }
9624                                }9004                                }
9625                                description9005                                description
9626                                  "Configure path name";9006                                  "Configure path name";
9627                              }9007                              }
9628                              leaf distance-metric {9008                              leaf distance-metric {
9629                                type uint32 {9009                                type uint32 {
9630                                  range "1..254" {9010                                  range "1..254" {
9631                                    description9011                                    description
9632                                      "Distance metric for this route";9012                                      "Distance metric for this route";
9633                                  }9013                                  }
9634                                }9014                                }
9635                                description9015                                description
9636                                  "Distance metric for this route";9016                                  "Distance metric for this route";
9637                              }9017                              }
9638                              leaf tag {9018                              leaf tag {
9639                                type uint32 {9019                                type uint32 {
9640                                  range "1..4294967295" {9020                                  range "1..4294967295" {
9641                                    description9021                                    description
9642                                      "Set tag for this route";9022                                      "Set tag for this route";
9643                                  }9023                                  }
9644                                }9024                                }
9645                                description9025                                description
9646                                  "Set tag for this route";9026                                  "Set tag for this route";
9647                              }9027                              }
9648                              leaf description {9028                              leaf description {
9649                                type string {9029                                type string {
9650                                  length "1..30" {9030                                  length "1..30" {
9651                                    description9031                                    description
9652                                      "short description of static route";9032                                      "short description of static route";
9653                                  }9033                                  }
9654                                }9034                                }
9655                                description9035                                description
9656                                  "description of the static route";9036                                  "description of the static route";
9657                              }9037                              }
9658                              leaf metric {9038                              leaf metric {
9659                                type uint32 {9039                                type uint32 {
9660                                  range "1..16777214" {9040                                  range "1..16777214" {
9661                                    description9041                                    description
9662                                      "Set metric for this route";9042                                      "Set metric for this route";
9663                                  }9043                                  }
9664                                }9044                                }
9665                                description9045                                description
9666                                  "Set metric for this route";9046                                  "Set metric for this route";
9667                              }9047                              }
n9668                              leaf algorithm {n
9669                                type uint32 {
9670                                  range "128..255" {
9671                                    description
9672                                      "Set algorithm value for this route";
9673                                  }
9674                                }
9675                                description
9676                                  "Set algorithm value for this route";
9677                              }
9678                            }
9679                          }
9680                        }
9681                      }
9682                    }
9683                    container remote-next-hop {
9684                      description
9685                        "remote tunnel endpoint address in default VRF";
9686                      container addresses {
9687                        description
9688                          "Forwarding router ipv6 address";
9689                        list address {
9690                          key "address";
9691                          description
9692                            "Forwarding router ipv4 or ipv6 address";
9693                          leaf address {
9694                            type inet:ip-address-no-zone;
9695                            description
9696                              "Forwarding router ipv4 or ipv6 address";
9697                          }
9698                          container tunnel {
9699                            description
9700                              "Static tunnel commands";
9701                            container vxlan {
9702                              description
9703                                "VXLAN encap type";
9704                              container indexes {
9705                                description
9706                                  "32 bit unique index for this path";
9707                                list index {
9708                                  must "vni or evni";
9709                                  key "index-id";
9710                                  description
9711                                    "32 bit unique index for this path";
9712                                  leaf index-id {
9713                                    type uint32 {
9714                                      range "0..4294967295" {
9715                                        description
9716                                          "32 bit unique index for this path";
9717                                      }
9718                                    }
9719                                    description
9720                                      "32 bit unique index for this path";
9721                                  }
9722                                  leaf nve {
9723                                    type uint32 {
9724                                      range "0..65535" {
9725                                        description
9726                                          "NVE ID to associate this Prefix";
9727                                      }
9728                                    }
9729                                    mandatory true;
9730                                    description
9731                                      "NVE ID to associate this Prefix";
9732                                  }
9733                                  leaf vni {
9734                                    type uint32 {
9735                                      range "1..16777215" {
9736                                        description
9737                                          "Ingress VNI for the tunnel prefix";
9738                                      }
9739                                    }
9740                                    must "not(../evni)";
9741                                    description
9742                                      "Ingress VNI for the tunnel prefix";
9743                                  }
9744                                  leaf evni {
9745                                    type uint32 {
9746                                      range "1..16777215" {
9747                                        description
9748                                          "Engress VNI for the tunnel prefix";
9749                                      }
9750                                    }
9751                                    must "../src-mac";
9752                                    description
9753                                      "Engress VNI for the tunnel prefix";
9754                                  }
9755                                  leaf src-mac {
9756                                    type yang:mac-address;
9757                                    description
9758                                      "source mac for the VXLAN tunnel";
9759                                  }
9760                                  leaf distance-metric-for-this-route {
9761                                    type uint32 {
9762                                      range "1..254" {
9763                                        description
9764                                          "Distance metric for this route";
9765                                      }
9766                                    }
9767                                    description
9768                                      "Distance metric for this route";
9769                                  }
9770                                  leaf tag {
9771                                    type uint32 {
9772                                      range "1..4294967295" {
9773                                        description
9774                                          "Set tag for this route";
9775                                      }
9776                                    }
9777                                    description
9778                                      "Set tag for this route";
9779                                  }
9780                                  leaf description {
9781                                    type xr:Cisco-ios-xr-string {
9782                                      length "1..30" {
9783                                        description
9784                                          "short description of static route";
9785                                      }
9786                                    }
9787                                    description
9788                                      "description of the static route";
9789                                  }
9790                                  leaf track {
9791                                    type xr:Cisco-ios-xr-string {
9792                                      length "1..32" {
9793                                        description
9794                                          "Object to be tracked";
9795                                      }
9796                                    }
9797                                    description
9798                                      "Enable object tracking for static route";
9799                                  }
9800                                  leaf metric {
9801                                    type uint32 {
9802                                      range "1..16777214" {
9803                                        description
9804                                          "Set metric for this route";
9805                                      }
9806                                    }
9807                                    description
9808                                      "Set metric for this route";
9809                                  }
9810                                  container prefer-rib-over-ldp {
9811                                    presence "Indicates a prefer-rib-over-ldp node is configured.";
9812                                    description
9813                                      "Flag passed to rib to prefer rib over ldp";
9814                                  }
9815                                  container permanent {
9816                                    presence "Indicates a permanent node is configured.";
9817                                    description
9818                                      "Permanent route";
9819                                  }
9820                                  container tunnel-opt-mode {
9821                                    description
9822                                      "Tunnel optimization mode";
9823                                    container disable {
9824                                      presence "Indicates a disable node is configured.";
9825                                      description
9826                                        "Disable per path optimization";
9827                                    }
9828                                  }
9829                                }
9830                              }
9831                            }9048                            }
9832                          }9049                          }
9833                        }9050                        }
9834                      }9051                      }
9835                    }9052                    }
9836                    container sr-policies {9053                    container sr-policies {
9837                      description9054                      description
9838                        "segment routing policy";9055                        "segment routing policy";
9839                      list sr-policy {9056                      list sr-policy {
9840                        key "sr-policy-name";9057                        key "sr-policy-name";
9841                        description9058                        description
9842                          "segment routing policy";9059                          "segment routing policy";
9843                        leaf sr-policy-name {9060                        leaf sr-policy-name {
9844                          type xr:Cisco-ios-xr-string {9061                          type xr:Cisco-ios-xr-string {
9845                            length "1..1024" {9062                            length "1..1024" {
9846                              description9063                              description
9847                                "SR policy name";9064                                "SR policy name";
9848                            }9065                            }
9849                          }9066                          }
9850                          description9067                          description
9851                            "segment routing policy";9068                            "segment routing policy";
9852                        }9069                        }
9853                        leaf distance-metric {9070                        leaf distance-metric {
9854                          type uint32 {9071                          type uint32 {
9855                            range "1..254" {9072                            range "1..254" {
9856                              description9073                              description
9857                                "Distance metric for this route";9074                                "Distance metric for this route";
9858                            }9075                            }
9859                          }9076                          }
9860                          description9077                          description
9861                            "Distance metric for this route";9078                            "Distance metric for this route";
9862                        }9079                        }
9863                        leaf tag {9080                        leaf tag {
9864                          type uint32 {9081                          type uint32 {
9865                            range "1..4294967295" {9082                            range "1..4294967295" {
9866                              description9083                              description
9867                                "Set tag for this route";9084                                "Set tag for this route";
9868                            }9085                            }
9869                          }9086                          }
9870                          description9087                          description
9871                            "Set tag for this route";9088                            "Set tag for this route";
9872                        }9089                        }
9873                        container permanent {9090                        container permanent {
9874                          presence "Indicates a permanent node is configured.";9091                          presence "Indicates a permanent node is configured.";
9875                          description9092                          description
9876                            "Permanent route";9093                            "Permanent route";
9877                        }9094                        }
9878                        leaf vrflabel {9095                        leaf vrflabel {
9879                          type uint32 {9096                          type uint32 {
9880                            range "0..4294967295" {9097                            range "0..4294967295" {
9881                              description9098                              description
9882                                "VRF label";9099                                "VRF label";
9883                            }9100                            }
9884                          }9101                          }
9885                          description9102                          description
9886                            "VRF label";9103                            "VRF label";
9887                        }9104                        }
9888                        leaf tunnel-id {9105                        leaf tunnel-id {
9889                          type uint32 {9106                          type uint32 {
9890                            range "0..4294967295" {9107                            range "0..4294967295" {
9891                              description9108                              description
9892                                "Tunnel ID";9109                                "Tunnel ID";
9893                            }9110                            }
9894                          }9111                          }
9895                          description9112                          description
9896                            "Tunnel ID";9113                            "Tunnel ID";
9897                        }9114                        }
9898                        leaf description {9115                        leaf description {
9899                          type string {9116                          type string {
9900                            length "1..30" {9117                            length "1..30" {
9901                              description9118                              description
9902                                "short description of static route";9119                                "short description of static route";
9903                            }9120                            }
9904                          }9121                          }
9905                          description9122                          description
9906                            "description of the static route";9123                            "description of the static route";
9907                        }9124                        }
9908                        leaf track {9125                        leaf track {
9909                          type xr:Cisco-ios-xr-string {9126                          type xr:Cisco-ios-xr-string {
9910                            length "1..32" {9127                            length "1..32" {
9911                              description9128                              description
9912                                "Object to be tracked";9129                                "Object to be tracked";
9913                            }9130                            }
9914                          }9131                          }
9915                          description9132                          description
9916                            "Enable object tracking for static route";9133                            "Enable object tracking for static route";
9917                        }9134                        }
9918                        leaf metric {9135                        leaf metric {
9919                          type uint32 {9136                          type uint32 {
9920                            range "1..16777214" {9137                            range "1..16777214" {
9921                              description9138                              description
9922                                "Set metric for this route";9139                                "Set metric for this route";
9923                            }9140                            }
9924                          }9141                          }
9925                          description9142                          description
9926                            "Set metric for this route";9143                            "Set metric for this route";
9927                        }9144                        }
n9928                        leaf algorithm {n
9929                          type uint32 {
9930                            range "128..255" {
9931                              description
9932                                "Set algorithm value for this route";
9933                            }
9934                          }
9935                          description
9936                            "Set algorithm value for this route";
9937                        }
9938                        container prefer-rib-over-ldp {9145                        container prefer-rib-over-ldp {
9939                          presence "Indicates a prefer-rib-over-ldp node is configured.";9146                          presence "Indicates a prefer-rib-over-ldp node is configured.";
9940                          description9147                          description
9941                            "Flag passed to rib to prefer rib over ldp";9148                            "Flag passed to rib to prefer rib over ldp";
9942                        }9149                        }
9943                      }9150                      }
9944                    }9151                    }
9945                    container nexthop-interfaces {9152                    container nexthop-interfaces {
9946                      description9153                      description
9947                        "Forwarding interface";9154                        "Forwarding interface";
9948                      list nexthop-interface {9155                      list nexthop-interface {
9949                        key "interface-name";9156                        key "interface-name";
9950                        description9157                        description
9951                          "Forwarding interface";9158                          "Forwarding interface";
9952                        leaf interface-name {9159                        leaf interface-name {
9953                          type xr:Interface-name;9160                          type xr:Interface-name;
9954                          description9161                          description
9955                            "Forwarding interface";9162                            "Forwarding interface";
9956                        }9163                        }
9957                        leaf distance-metric {9164                        leaf distance-metric {
9958                          type uint32 {9165                          type uint32 {
9959                            range "1..254" {9166                            range "1..254" {
9960                              description9167                              description
9961                                "Distance metric for this route";9168                                "Distance metric for this route";
9962                            }9169                            }
9963                          }9170                          }
9964                          description9171                          description
9965                            "Distance metric for this route";9172                            "Distance metric for this route";
9966                        }9173                        }
9967                        leaf tag {9174                        leaf tag {
9968                          type uint32 {9175                          type uint32 {
9969                            range "1..4294967295" {9176                            range "1..4294967295" {
9970                              description9177                              description
9971                                "Set tag for this route";9178                                "Set tag for this route";
9972                            }9179                            }
9973                          }9180                          }
9974                          description9181                          description
9975                            "Set tag for this route";9182                            "Set tag for this route";
9976                        }9183                        }
9977                        container permanent {9184                        container permanent {
9978                          presence "Indicates a permanent node is configured.";9185                          presence "Indicates a permanent node is configured.";
9979                          description9186                          description
9980                            "Permanent route";9187                            "Permanent route";
9981                        }9188                        }
9982                        leaf vrflabel {9189                        leaf vrflabel {
9983                          type uint32 {9190                          type uint32 {
9984                            range "0..4294967295" {9191                            range "0..4294967295" {
9985                              description9192                              description
9986                                "VRF label";9193                                "VRF label";
9987                            }9194                            }
9988                          }9195                          }
9989                          description9196                          description
9990                            "VRF label";9197                            "VRF label";
9991                        }9198                        }
9992                        leaf tunnel-id {9199                        leaf tunnel-id {
9993                          type uint32 {9200                          type uint32 {
9994                            range "0..4294967295" {9201                            range "0..4294967295" {
9995                              description9202                              description
9996                                "Tunnel ID";9203                                "Tunnel ID";
9997                            }9204                            }
9998                          }9205                          }
9999                          description9206                          description
10000                            "Tunnel ID";9207                            "Tunnel ID";
10001                        }9208                        }
10002                        leaf description {9209                        leaf description {
10003                          type string {9210                          type string {
10004                            length "1..30" {9211                            length "1..30" {
10005                              description9212                              description
10006                                "short description of static route";9213                                "short description of static route";
10007                            }9214                            }
10008                          }9215                          }
10009                          description9216                          description
10010                            "description of the static route";9217                            "description of the static route";
10011                        }9218                        }
10012                        leaf track {9219                        leaf track {
10013                          type xr:Cisco-ios-xr-string {9220                          type xr:Cisco-ios-xr-string {
10014                            length "1..32" {9221                            length "1..32" {
10015                              description9222                              description
10016                                "Object to be tracked";9223                                "Object to be tracked";
10017                            }9224                            }
10018                          }9225                          }
10019                          description9226                          description
10020                            "Enable object tracking for static route";9227                            "Enable object tracking for static route";
10021                        }9228                        }
10022                        leaf metric {9229                        leaf metric {
10023                          type uint32 {9230                          type uint32 {
10024                            range "1..16777214" {9231                            range "1..16777214" {
10025                              description9232                              description
10026                                "Set metric for this route";9233                                "Set metric for this route";
10027                            }9234                            }
10028                          }9235                          }
10029                          description9236                          description
10030                            "Set metric for this route";9237                            "Set metric for this route";
10031                        }9238                        }
n10032                        leaf algorithm {n
10033                          type uint32 {
10034                            range "128..255" {
10035                              description
10036                                "Set algorithm value for this route";
10037                            }
10038                          }
10039                          description
10040                            "Set algorithm value for this route";
10041                        }
10042                        container prefer-rib-over-ldp {9239                        container prefer-rib-over-ldp {
10043                          presence "Indicates a prefer-rib-over-ldp node is configured.";9240                          presence "Indicates a prefer-rib-over-ldp node is configured.";
10044                          description9241                          description
10045                            "Flag passed to rib to prefer rib over ldp";9242                            "Flag passed to rib to prefer rib over ldp";
10046                        }9243                        }
10047                      }9244                      }
10048                    }9245                    }
10049                    container nexthop-interface-addresses {9246                    container nexthop-interface-addresses {
10050                      description9247                      description
10051                        "Forwarding interface";9248                        "Forwarding interface";
10052                      list nexthop-interface-address {9249                      list nexthop-interface-address {
10053                        key "interface-name address";9250                        key "interface-name address";
10054                        description9251                        description
10055                          "Forwarding interface";9252                          "Forwarding interface";
10056                        leaf interface-name {9253                        leaf interface-name {
10057                          type xr:Interface-name;9254                          type xr:Interface-name;
10058                          description9255                          description
10059                            "Forwarding interface";9256                            "Forwarding interface";
10060                        }9257                        }
10061                        leaf address {9258                        leaf address {
10062                          type inet:ipv6-address-no-zone;9259                          type inet:ipv6-address-no-zone;
10063                          description9260                          description
10064                            "Forwarding router's address";9261                            "Forwarding router's address";
10065                        }9262                        }
10066                        container bfd {9263                        container bfd {
10067                          description9264                          description
10068                            "Configure BFD paramenters";9265                            "Configure BFD paramenters";
10069                          container fast-detect {9266                          container fast-detect {
10070                            presence "Indicates a fast-detect node is configured.";9267                            presence "Indicates a fast-detect node is configured.";
10071                            description9268                            description
10072                              "Enable Fast detection";9269                              "Enable Fast detection";
10073                            leaf minimum-interval {9270                            leaf minimum-interval {
10074                              type uint32 {9271                              type uint32 {
10075                                range "3..30000" {9272                                range "3..30000" {
10076                                  description9273                                  description
10077                                    "interval in milli-seconds";9274                                    "interval in milli-seconds";
10078                                }9275                                }
10079                              }9276                              }
10080                              description9277                              description
10081                                "Hello interval";9278                                "Hello interval";
10082                            }9279                            }
10083                            leaf multiplier {9280                            leaf multiplier {
10084                              type uint32 {9281                              type uint32 {
10085                                range "1..10" {9282                                range "1..10" {
10086                                  description9283                                  description
10087                                    "Detect multiplier";9284                                    "Detect multiplier";
10088                                }9285                                }
10089                              }9286                              }
10090                              description9287                              description
10091                                "Detect multiplier";9288                                "Detect multiplier";
10092                            }9289                            }
10093                          }9290                          }
10094                        }9291                        }
10095                        leaf distance-metric {9292                        leaf distance-metric {
10096                          type uint32 {9293                          type uint32 {
10097                            range "1..254" {9294                            range "1..254" {
10098                              description9295                              description
10099                                "Distance metric for this route";9296                                "Distance metric for this route";
10100                            }9297                            }
10101                          }9298                          }
10102                          description9299                          description
10103                            "Distance metric for this route";9300                            "Distance metric for this route";
10104                        }9301                        }
10105                        leaf tag {9302                        leaf tag {
10106                          type uint32 {9303                          type uint32 {
10107                            range "1..4294967295" {9304                            range "1..4294967295" {
10108                              description9305                              description
10109                                "Set tag for this route";9306                                "Set tag for this route";
10110                            }9307                            }
10111                          }9308                          }
10112                          description9309                          description
10113                            "Set tag for this route";9310                            "Set tag for this route";
10114                        }9311                        }
10115                        container permanent {9312                        container permanent {
10116                          presence "Indicates a permanent node is configured.";9313                          presence "Indicates a permanent node is configured.";
10117                          description9314                          description
10118                            "Permanent route";9315                            "Permanent route";
10119                        }9316                        }
10120                        leaf vrflabel {9317                        leaf vrflabel {
10121                          type uint32 {9318                          type uint32 {
10122                            range "0..4294967295" {9319                            range "0..4294967295" {
10123                              description9320                              description
10124                                "VRF label";9321                                "VRF label";
10125                            }9322                            }
10126                          }9323                          }
10127                          description9324                          description
10128                            "VRF label";9325                            "VRF label";
10129                        }9326                        }
10130                        leaf tunnel-id {9327                        leaf tunnel-id {
10131                          type uint32 {9328                          type uint32 {
10132                            range "0..4294967295" {9329                            range "0..4294967295" {
10133                              description9330                              description
10134                                "Tunnel ID";9331                                "Tunnel ID";
10135                            }9332                            }
10136                          }9333                          }
10137                          description9334                          description
10138                            "Tunnel ID";9335                            "Tunnel ID";
10139                        }9336                        }
10140                        leaf description {9337                        leaf description {
10141                          type string {9338                          type string {
10142                            length "1..30" {9339                            length "1..30" {
10143                              description9340                              description
10144                                "short description of static route";9341                                "short description of static route";
10145                            }9342                            }
10146                          }9343                          }
10147                          description9344                          description
10148                            "description of the static route";9345                            "description of the static route";
10149                        }9346                        }
10150                        leaf track {9347                        leaf track {
10151                          type xr:Cisco-ios-xr-string {9348                          type xr:Cisco-ios-xr-string {
10152                            length "1..32" {9349                            length "1..32" {
10153                              description9350                              description
10154                                "Object to be tracked";9351                                "Object to be tracked";
10155                            }9352                            }
10156                          }9353                          }
10157                          description9354                          description
10158                            "Enable object tracking for static route";9355                            "Enable object tracking for static route";
10159                        }9356                        }
10160                        leaf metric {9357                        leaf metric {
10161                          type uint32 {9358                          type uint32 {
10162                            range "1..16777214" {9359                            range "1..16777214" {
10163                              description9360                              description
10164                                "Set metric for this route";9361                                "Set metric for this route";
10165                            }9362                            }
10166                          }9363                          }
10167                          description9364                          description
10168                            "Set metric for this route";9365                            "Set metric for this route";
10169                        }9366                        }
n10170                        leaf algorithm {n
10171                          type uint32 {
10172                            range "128..255" {
10173                              description
10174                                "Set algorithm value for this route";
10175                            }
10176                          }
10177                          description
10178                            "Set algorithm value for this route";
10179                        }
10180                        container prefer-rib-over-ldp {9367                        container prefer-rib-over-ldp {
10181                          presence "Indicates a prefer-rib-over-ldp node is configured.";9368                          presence "Indicates a prefer-rib-over-ldp node is configured.";
10182                          description9369                          description
10183                            "Flag passed to rib to prefer rib over ldp";9370                            "Flag passed to rib to prefer rib over ldp";
10184                        }9371                        }
10185                      }9372                      }
10186                    }9373                    }
10187                    container nexthop-addresses {9374                    container nexthop-addresses {
10188                      description9375                      description
10189                        "Forwarding router's address";9376                        "Forwarding router's address";
10190                      list nexthop-address {9377                      list nexthop-address {
10191                        key "address";9378                        key "address";
10192                        description9379                        description
10193                          "Forwarding router's address";9380                          "Forwarding router's address";
10194                        leaf address {9381                        leaf address {
10195                          type inet:ipv6-address-no-zone;9382                          type inet:ipv6-address-no-zone;
10196                          description9383                          description
10197                            "Forwarding router's address";9384                            "Forwarding router's address";
10198                        }9385                        }
10199                        container bfd {9386                        container bfd {
10200                          description9387                          description
10201                            "Configure BFD paramenters";9388                            "Configure BFD paramenters";
10202                          container fast-detect {9389                          container fast-detect {
10203                            presence "Indicates a fast-detect node is configured.";9390                            presence "Indicates a fast-detect node is configured.";
10204                            description9391                            description
10205                              "Enable Fast detection";9392                              "Enable Fast detection";
10206                            leaf minimum-interval {9393                            leaf minimum-interval {
10207                              type uint32 {9394                              type uint32 {
10208                                range "3..30000" {9395                                range "3..30000" {
10209                                  description9396                                  description
10210                                    "interval in milli-seconds";9397                                    "interval in milli-seconds";
10211                                }9398                                }
10212                              }9399                              }
10213                              description9400                              description
10214                                "Hello interval";9401                                "Hello interval";
10215                            }9402                            }
10216                            leaf multiplier {9403                            leaf multiplier {
10217                              type uint32 {9404                              type uint32 {
10218                                range "1..10" {9405                                range "1..10" {
10219                                  description9406                                  description
10220                                    "Detect multiplier";9407                                    "Detect multiplier";
10221                                }9408                                }
10222                              }9409                              }
10223                              description9410                              description
10224                                "Detect multiplier";9411                                "Detect multiplier";
10225                            }9412                            }
10226                            container multihop {9413                            container multihop {
10227                              presence "Indicates a multihop node is configured.";9414                              presence "Indicates a multihop node is configured.";
10228                              description9415                              description
10229                                "Enable BFD Multihop";9416                                "Enable BFD Multihop";
10230                              leaf address {9417                              leaf address {
10231                                type inet:ipv6-address-no-zone;9418                                type inet:ipv6-address-no-zone;
10232                                mandatory true;9419                                mandatory true;
10233                                description9420                                description
10234                                  "Source address";9421                                  "Source address";
10235                              }9422                              }
10236                            }9423                            }
10237                          }9424                          }
10238                        }9425                        }
10239                        leaf distance-metric {9426                        leaf distance-metric {
10240                          type uint32 {9427                          type uint32 {
10241                            range "1..254" {9428                            range "1..254" {
10242                              description9429                              description
10243                                "Distance metric for this route";9430                                "Distance metric for this route";
10244                            }9431                            }
10245                          }9432                          }
10246                          description9433                          description
10247                            "Distance metric for this route";9434                            "Distance metric for this route";
10248                        }9435                        }
10249                        leaf tag {9436                        leaf tag {
10250                          type uint32 {9437                          type uint32 {
10251                            range "1..4294967295" {9438                            range "1..4294967295" {
10252                              description9439                              description
10253                                "Set tag for this route";9440                                "Set tag for this route";
10254                            }9441                            }
10255                          }9442                          }
10256                          description9443                          description
10257                            "Set tag for this route";9444                            "Set tag for this route";
10258                        }9445                        }
10259                        container permanent {9446                        container permanent {
10260                          presence "Indicates a permanent node is configured.";9447                          presence "Indicates a permanent node is configured.";
10261                          description9448                          description
10262                            "Permanent route";9449                            "Permanent route";
10263                        }9450                        }
10264                        leaf vrflabel {9451                        leaf vrflabel {
10265                          type uint32 {9452                          type uint32 {
10266                            range "0..4294967295" {9453                            range "0..4294967295" {
10267                              description9454                              description
10268                                "VRF label";9455                                "VRF label";
10269                            }9456                            }
10270                          }9457                          }
10271                          description9458                          description
10272                            "VRF label";9459                            "VRF label";
10273                        }9460                        }
10274                        leaf tunnel-id {9461                        leaf tunnel-id {
10275                          type uint32 {9462                          type uint32 {
10276                            range "0..4294967295" {9463                            range "0..4294967295" {
10277                              description9464                              description
10278                                "Tunnel ID";9465                                "Tunnel ID";
10279                            }9466                            }
10280                          }9467                          }
10281                          description9468                          description
10282                            "Tunnel ID";9469                            "Tunnel ID";
10283                        }9470                        }
10284                        leaf description {9471                        leaf description {
10285                          type string {9472                          type string {
10286                            length "1..30" {9473                            length "1..30" {
10287                              description9474                              description
10288                                "short description of static route";9475                                "short description of static route";
10289                            }9476                            }
10290                          }9477                          }
10291                          description9478                          description
10292                            "description of the static route";9479                            "description of the static route";
10293                        }9480                        }
10294                        leaf track {9481                        leaf track {
10295                          type xr:Cisco-ios-xr-string {9482                          type xr:Cisco-ios-xr-string {
10296                            length "1..32" {9483                            length "1..32" {
10297                              description9484                              description
10298                                "Object to be tracked";9485                                "Object to be tracked";
10299                            }9486                            }
10300                          }9487                          }
10301                          description9488                          description
10302                            "Enable object tracking for static route";9489                            "Enable object tracking for static route";
10303                        }9490                        }
10304                        leaf metric {9491                        leaf metric {
10305                          type uint32 {9492                          type uint32 {
10306                            range "1..16777214" {9493                            range "1..16777214" {
10307                              description9494                              description
10308                                "Set metric for this route";9495                                "Set metric for this route";
10309                            }9496                            }
10310                          }9497                          }
10311                          description9498                          description
10312                            "Set metric for this route";9499                            "Set metric for this route";
10313                        }9500                        }
n10314                        leaf algorithm {n
10315                          type uint32 {
10316                            range "128..255" {
10317                              description
10318                                "Set algorithm value for this route";
10319                            }
10320                          }
10321                          description
10322                            "Set algorithm value for this route";
10323                        }
10324                        container prefer-rib-over-ldp {9501                        container prefer-rib-over-ldp {
10325                          presence "Indicates a prefer-rib-over-ldp node is configured.";9502                          presence "Indicates a prefer-rib-over-ldp node is configured.";
10326                          description9503                          description
10327                            "Flag passed to rib to prefer rib over ldp";9504                            "Flag passed to rib to prefer rib over ldp";
10328                        }9505                        }
10329                      }9506                      }
10330                      list nexthop-address-segment-routing {9507                      list nexthop-address-segment-routing {
10331                        key "address mpls-path-name";9508                        key "address mpls-path-name";
10332                        description9509                        description
10333                          "Forwarding router's address";9510                          "Forwarding router's address";
10334                        leaf address {9511                        leaf address {
10335                          type inet:ipv6-address-no-zone;9512                          type inet:ipv6-address-no-zone;
10336                          description9513                          description
10337                            "Forwarding router's address";9514                            "Forwarding router's address";
10338                        }9515                        }
10339                        leaf mpls-path-name {9516                        leaf mpls-path-name {
10340                          type xr:Cisco-ios-xr-string {9517                          type xr:Cisco-ios-xr-string {
10341                            length "1..1024" {9518                            length "1..1024" {
10342                              description9519                              description
10343                                "Path name";9520                                "Path name";
10344                            }9521                            }
10345                          }9522                          }
10346                          description9523                          description
10347                            "Configure path name";9524                            "Configure path name";
10348                        }9525                        }
10349                        leaf distance-metric {9526                        leaf distance-metric {
10350                          type uint32 {9527                          type uint32 {
10351                            range "1..254" {9528                            range "1..254" {
10352                              description9529                              description
10353                                "Distance metric for this route";9530                                "Distance metric for this route";
10354                            }9531                            }
10355                          }9532                          }
10356                          description9533                          description
10357                            "Distance metric for this route";9534                            "Distance metric for this route";
10358                        }9535                        }
10359                        leaf tag {9536                        leaf tag {
10360                          type uint32 {9537                          type uint32 {
10361                            range "1..4294967295" {9538                            range "1..4294967295" {
10362                              description9539                              description
10363                                "Set tag for this route";9540                                "Set tag for this route";
10364                            }9541                            }
10365                          }9542                          }
10366                          description9543                          description
10367                            "Set tag for this route";9544                            "Set tag for this route";
10368                        }9545                        }
10369                        leaf description {9546                        leaf description {
10370                          type string {9547                          type string {
10371                            length "1..30" {9548                            length "1..30" {
10372                              description9549                              description
10373                                "short description of static route";9550                                "short description of static route";
10374                            }9551                            }
10375                          }9552                          }
10376                          description9553                          description
10377                            "description of the static route";9554                            "description of the static route";
10378                        }9555                        }
10379                        leaf metric {9556                        leaf metric {
10380                          type uint32 {9557                          type uint32 {
10381                            range "1..16777214" {9558                            range "1..16777214" {
10382                              description9559                              description
10383                                "Set metric for this route";9560                                "Set metric for this route";
10384                            }9561                            }
10385                          }9562                          }
10386                          description9563                          description
10387                            "Set metric for this route";9564                            "Set metric for this route";
n10388                        }n
10389                        leaf algorithm {
10390                          type uint32 {
10391                            range "128..255" {
10392                              description
10393                                "Set algorithm value for this route";
10394                            }
10395                          }
10396                          description
10397                            "Set algorithm value for this route";
10398                        }9565                        }
10399                      }9566                      }
10400                    }9567                    }
10401                    container vrfs {9568                    container vrfs {
10402                      description9569                      description
10403                        "Destination VRF";9570                        "Destination VRF";
10404                      list vrf-only {9571                      list vrf-only {
10405                        key "vrf-name";9572                        key "vrf-name";
10406                        description9573                        description
10407                          "Destination only VRF";9574                          "Destination only VRF";
10408                        leaf vrf-name {9575                        leaf vrf-name {
10409                          type xr:Cisco-ios-xr-string {9576                          type xr:Cisco-ios-xr-string {
10410                            length "1..32" {9577                            length "1..32" {
10411                              description9578                              description
10412                                "VRF name";9579                                "VRF name";
10413                            }9580                            }
10414                          }9581                          }
10415                          description9582                          description
10416                            "Destination VRF";9583                            "Destination VRF";
n10417                        }n
10418                        leaf description {
10419                          type string {
10420                            length "1..254" {
10421                              description
10422                                "short description of static route";
10423                            }
10424                          }
10425                          description
10426                            "description of the static route";
10427                        }
10428                        leaf algorithm {
10429                          type uint32 {
10430                            range "128..255" {
10431                              description
10432                                "Set algorithm value for this route";
10433                            }
10434                          }
10435                          description
10436                            "Set algorithm value for this route";
10437                        }9584                        }
10438                      }9585                      }
10439                      list vrf {9586                      list vrf {
10440                        must9587                        must
10441                          "sr-policies/sr-policy or9588                          "sr-policies/sr-policy or
10442                           nexthop-interfaces/nexthop-interface or9589                           nexthop-interfaces/nexthop-interface or
10443                           nexthop-interface-addresses/nexthop-interface-address or9590                           nexthop-interface-addresses/nexthop-interface-address or
10444                           nexthop-addresses/nexthop-address";9591                           nexthop-addresses/nexthop-address";
10445                        key "vrf-name";9592                        key "vrf-name";
10446                        description9593                        description
10447                          "Destination VRF";9594                          "Destination VRF";
10448                        leaf vrf-name {9595                        leaf vrf-name {
10449                          type xr:Cisco-ios-xr-string {9596                          type xr:Cisco-ios-xr-string {
10450                            length "1..32" {9597                            length "1..32" {
10451                              description9598                              description
10452                                "VRF name";9599                                "VRF name";
10453                            }9600                            }
10454                          }9601                          }
10455                          description9602                          description
10456                            "Destination VRF";9603                            "Destination VRF";
10457                        }9604                        }
10458                        container sr-policies {9605                        container sr-policies {
10459                          description9606                          description
10460                            "segment routing policy";9607                            "segment routing policy";
10461                          list sr-policy {9608                          list sr-policy {
10462                            key "sr-policy-name";9609                            key "sr-policy-name";
10463                            description9610                            description
10464                              "segment routing policy";9611                              "segment routing policy";
10465                            leaf sr-policy-name {9612                            leaf sr-policy-name {
10466                              type xr:Cisco-ios-xr-string {9613                              type xr:Cisco-ios-xr-string {
10467                                length "1..1024" {9614                                length "1..1024" {
10468                                  description9615                                  description
10469                                    "SR policy name";9616                                    "SR policy name";
10470                                }9617                                }
10471                              }9618                              }
10472                              description9619                              description
10473                                "segment routing policy";9620                                "segment routing policy";
10474                            }9621                            }
10475                            leaf distance-metric {9622                            leaf distance-metric {
10476                              type uint32 {9623                              type uint32 {
10477                                range "1..254" {9624                                range "1..254" {
10478                                  description9625                                  description
10479                                    "Distance metric for this route";9626                                    "Distance metric for this route";
10480                                }9627                                }
10481                              }9628                              }
10482                              description9629                              description
10483                                "Distance metric for this route";9630                                "Distance metric for this route";
10484                            }9631                            }
10485                            leaf tag {9632                            leaf tag {
10486                              type uint32 {9633                              type uint32 {
10487                                range "1..4294967295" {9634                                range "1..4294967295" {
10488                                  description9635                                  description
10489                                    "Set tag for this route";9636                                    "Set tag for this route";
10490                                }9637                                }
10491                              }9638                              }
10492                              description9639                              description
10493                                "Set tag for this route";9640                                "Set tag for this route";
10494                            }9641                            }
10495                            container permanent {9642                            container permanent {
10496                              presence "Indicates a permanent node is configured.";9643                              presence "Indicates a permanent node is configured.";
10497                              description9644                              description
10498                                "Permanent route";9645                                "Permanent route";
10499                            }9646                            }
10500                            leaf vrflabel {9647                            leaf vrflabel {
10501                              type uint32 {9648                              type uint32 {
10502                                range "0..4294967295" {9649                                range "0..4294967295" {
10503                                  description9650                                  description
10504                                    "VRF label";9651                                    "VRF label";
10505                                }9652                                }
10506                              }9653                              }
10507                              description9654                              description
10508                                "VRF label";9655                                "VRF label";
10509                            }9656                            }
10510                            leaf tunnel-id {9657                            leaf tunnel-id {
10511                              type uint32 {9658                              type uint32 {
10512                                range "0..4294967295" {9659                                range "0..4294967295" {
10513                                  description9660                                  description
10514                                    "Tunnel ID";9661                                    "Tunnel ID";
10515                                }9662                                }
10516                              }9663                              }
10517                              description9664                              description
10518                                "Tunnel ID";9665                                "Tunnel ID";
10519                            }9666                            }
10520                            leaf description {9667                            leaf description {
10521                              type string {9668                              type string {
10522                                length "1..30" {9669                                length "1..30" {
10523                                  description9670                                  description
10524                                    "short description of static route";9671                                    "short description of static route";
10525                                }9672                                }
10526                              }9673                              }
10527                              description9674                              description
10528                                "description of the static route";9675                                "description of the static route";
10529                            }9676                            }
10530                            leaf track {9677                            leaf track {
10531                              type xr:Cisco-ios-xr-string {9678                              type xr:Cisco-ios-xr-string {
10532                                length "1..32" {9679                                length "1..32" {
10533                                  description9680                                  description
10534                                    "Object to be tracked";9681                                    "Object to be tracked";
10535                                }9682                                }
10536                              }9683                              }
10537                              description9684                              description
10538                                "Enable object tracking for static route";9685                                "Enable object tracking for static route";
10539                            }9686                            }
10540                            leaf metric {9687                            leaf metric {
10541                              type uint32 {9688                              type uint32 {
10542                                range "1..16777214" {9689                                range "1..16777214" {
10543                                  description9690                                  description
10544                                    "Set metric for this route";9691                                    "Set metric for this route";
10545                                }9692                                }
10546                              }9693                              }
10547                              description9694                              description
10548                                "Set metric for this route";9695                                "Set metric for this route";
10549                            }9696                            }
n10550                            leaf algorithm {n
10551                              type uint32 {
10552                                range "128..255" {
10553                                  description
10554                                    "Set algorithm value for this route";
10555                                }
10556                              }
10557                              description
10558                                "Set algorithm value for this route";
10559                            }
10560                            container prefer-rib-over-ldp {9697                            container prefer-rib-over-ldp {
10561                              presence "Indicates a prefer-rib-over-ldp node is configured.";9698                              presence "Indicates a prefer-rib-over-ldp node is configured.";
10562                              description9699                              description
10563                                "Flag passed to rib to prefer rib over ldp";9700                                "Flag passed to rib to prefer rib over ldp";
10564                            }9701                            }
10565                          }9702                          }
10566                        }9703                        }
10567                        container nexthop-interfaces {9704                        container nexthop-interfaces {
10568                          description9705                          description
10569                            "Forwarding interface";9706                            "Forwarding interface";
10570                          list nexthop-interface {9707                          list nexthop-interface {
10571                            key "interface-name";9708                            key "interface-name";
10572                            description9709                            description
10573                              "Forwarding interface";9710                              "Forwarding interface";
10574                            leaf interface-name {9711                            leaf interface-name {
10575                              type xr:Interface-name;9712                              type xr:Interface-name;
10576                              description9713                              description
10577                                "Forwarding interface";9714                                "Forwarding interface";
10578                            }9715                            }
10579                            leaf distance-metric {9716                            leaf distance-metric {
10580                              type uint32 {9717                              type uint32 {
10581                                range "1..254" {9718                                range "1..254" {
10582                                  description9719                                  description
10583                                    "Distance metric for this route";9720                                    "Distance metric for this route";
10584                                }9721                                }
10585                              }9722                              }
10586                              description9723                              description
10587                                "Distance metric for this route";9724                                "Distance metric for this route";
10588                            }9725                            }
10589                            leaf tag {9726                            leaf tag {
10590                              type uint32 {9727                              type uint32 {
10591                                range "1..4294967295" {9728                                range "1..4294967295" {
10592                                  description9729                                  description
10593                                    "Set tag for this route";9730                                    "Set tag for this route";
10594                                }9731                                }
10595                              }9732                              }
10596                              description9733                              description
10597                                "Set tag for this route";9734                                "Set tag for this route";
10598                            }9735                            }
10599                            container permanent {9736                            container permanent {
10600                              presence "Indicates a permanent node is configured.";9737                              presence "Indicates a permanent node is configured.";
10601                              description9738                              description
10602                                "Permanent route";9739                                "Permanent route";
10603                            }9740                            }
10604                            leaf vrflabel {9741                            leaf vrflabel {
10605                              type uint32 {9742                              type uint32 {
10606                                range "0..4294967295" {9743                                range "0..4294967295" {
10607                                  description9744                                  description
10608                                    "VRF label";9745                                    "VRF label";
10609                                }9746                                }
10610                              }9747                              }
10611                              description9748                              description
10612                                "VRF label";9749                                "VRF label";
10613                            }9750                            }
10614                            leaf tunnel-id {9751                            leaf tunnel-id {
10615                              type uint32 {9752                              type uint32 {
10616                                range "0..4294967295" {9753                                range "0..4294967295" {
10617                                  description9754                                  description
10618                                    "Tunnel ID";9755                                    "Tunnel ID";
10619                                }9756                                }
10620                              }9757                              }
10621                              description9758                              description
10622                                "Tunnel ID";9759                                "Tunnel ID";
10623                            }9760                            }
10624                            leaf description {9761                            leaf description {
10625                              type string {9762                              type string {
10626                                length "1..30" {9763                                length "1..30" {
10627                                  description9764                                  description
10628                                    "short description of static route";9765                                    "short description of static route";
10629                                }9766                                }
10630                              }9767                              }
10631                              description9768                              description
10632                                "description of the static route";9769                                "description of the static route";
10633                            }9770                            }
10634                            leaf track {9771                            leaf track {
10635                              type xr:Cisco-ios-xr-string {9772                              type xr:Cisco-ios-xr-string {
10636                                length "1..32" {9773                                length "1..32" {
10637                                  description9774                                  description
10638                                    "Object to be tracked";9775                                    "Object to be tracked";
10639                                }9776                                }
10640                              }9777                              }
10641                              description9778                              description
10642                                "Enable object tracking for static route";9779                                "Enable object tracking for static route";
10643                            }9780                            }
10644                            leaf metric {9781                            leaf metric {
10645                              type uint32 {9782                              type uint32 {
10646                                range "1..16777214" {9783                                range "1..16777214" {
10647                                  description9784                                  description
10648                                    "Set metric for this route";9785                                    "Set metric for this route";
10649                                }9786                                }
10650                              }9787                              }
10651                              description9788                              description
10652                                "Set metric for this route";9789                                "Set metric for this route";
n10653                            }n
10654                            leaf algorithm {
10655                              type uint32 {
10656                                range "128..255" {
10657                                  description
10658                                    "Set algorithm value for this route";
10659                                }
10660                              }
10661                              description
10662                                "Set algorithm value for this route";
10663                            }9790                            }
10664                            container prefer-rib-over-ldp {9791                            container prefer-rib-over-ldp {
10665                              presence "Indicates a prefer-rib-over-ldp node is configured.";9792                              presence "Indicates a prefer-rib-over-ldp node is configured.";
10666                              description9793                              description
10667                                "Flag passed to rib to prefer rib over ldp";9794                                "Flag passed to rib to prefer rib over ldp";
10668                            }9795                            }
10669                          }9796                          }
10670                        }9797                        }
10671                        container nexthop-interface-addresses {9798                        container nexthop-interface-addresses {
10672                          description9799                          description
10673                            "Forwarding interface";9800                            "Forwarding interface";
10674                          list nexthop-interface-address {9801                          list nexthop-interface-address {
10675                            key "interface-name address";9802                            key "interface-name address";
10676                            description9803                            description
10677                              "Forwarding interface";9804                              "Forwarding interface";
10678                            leaf interface-name {9805                            leaf interface-name {
10679                              type xr:Interface-name;9806                              type xr:Interface-name;
10680                              description9807                              description
10681                                "Forwarding interface";9808                                "Forwarding interface";
10682                            }9809                            }
10683                            leaf address {9810                            leaf address {
10684                              type inet:ipv6-address-no-zone;9811                              type inet:ipv6-address-no-zone;
10685                              description9812                              description
10686                                "Forwarding router's address";9813                                "Forwarding router's address";
10687                            }9814                            }
10688                            container bfd {9815                            container bfd {
10689                              description9816                              description
10690                                "Configure BFD paramenters";9817                                "Configure BFD paramenters";
10691                              container fast-detect {9818                              container fast-detect {
10692                                presence "Indicates a fast-detect node is configured.";9819                                presence "Indicates a fast-detect node is configured.";
10693                                description9820                                description
10694                                  "Enable Fast detection";9821                                  "Enable Fast detection";
10695                                leaf minimum-interval {9822                                leaf minimum-interval {
10696                                  type uint32 {9823                                  type uint32 {
10697                                    range "3..30000" {9824                                    range "3..30000" {
10698                                      description9825                                      description
10699                                        "interval in milli-seconds";9826                                        "interval in milli-seconds";
10700                                    }9827                                    }
10701                                  }9828                                  }
10702                                  description9829                                  description
10703                                    "Hello interval";9830                                    "Hello interval";
10704                                }9831                                }
10705                                leaf multiplier {9832                                leaf multiplier {
10706                                  type uint32 {9833                                  type uint32 {
10707                                    range "1..10" {9834                                    range "1..10" {
10708                                      description9835                                      description
10709                                        "Detect multiplier";9836                                        "Detect multiplier";
10710                                    }9837                                    }
10711                                  }9838                                  }
10712                                  description9839                                  description
10713                                    "Detect multiplier";9840                                    "Detect multiplier";
10714                                }9841                                }
10715                              }9842                              }
10716                            }9843                            }
10717                            leaf distance-metric {9844                            leaf distance-metric {
10718                              type uint32 {9845                              type uint32 {
10719                                range "1..254" {9846                                range "1..254" {
10720                                  description9847                                  description
10721                                    "Distance metric for this route";9848                                    "Distance metric for this route";
10722                                }9849                                }
10723                              }9850                              }
10724                              description9851                              description
10725                                "Distance metric for this route";9852                                "Distance metric for this route";
10726                            }9853                            }
10727                            leaf tag {9854                            leaf tag {
10728                              type uint32 {9855                              type uint32 {
10729                                range "1..4294967295" {9856                                range "1..4294967295" {
10730                                  description9857                                  description
10731                                    "Set tag for this route";9858                                    "Set tag for this route";
10732                                }9859                                }
10733                              }9860                              }
10734                              description9861                              description
10735                                "Set tag for this route";9862                                "Set tag for this route";
10736                            }9863                            }
10737                            container permanent {9864                            container permanent {
10738                              presence "Indicates a permanent node is configured.";9865                              presence "Indicates a permanent node is configured.";
10739                              description9866                              description
10740                                "Permanent route";9867                                "Permanent route";
10741                            }9868                            }
10742                            leaf vrflabel {9869                            leaf vrflabel {
10743                              type uint32 {9870                              type uint32 {
10744                                range "0..4294967295" {9871                                range "0..4294967295" {
10745                                  description9872                                  description
10746                                    "VRF label";9873                                    "VRF label";
10747                                }9874                                }
10748                              }9875                              }
10749                              description9876                              description
10750                                "VRF label";9877                                "VRF label";
10751                            }9878                            }
10752                            leaf tunnel-id {9879                            leaf tunnel-id {
10753                              type uint32 {9880                              type uint32 {
10754                                range "0..4294967295" {9881                                range "0..4294967295" {
10755                                  description9882                                  description
10756                                    "Tunnel ID";9883                                    "Tunnel ID";
10757                                }9884                                }
10758                              }9885                              }
10759                              description9886                              description
10760                                "Tunnel ID";9887                                "Tunnel ID";
10761                            }9888                            }
10762                            leaf description {9889                            leaf description {
10763                              type string {9890                              type string {
10764                                length "1..30" {9891                                length "1..30" {
10765                                  description9892                                  description
10766                                    "short description of static route";9893                                    "short description of static route";
10767                                }9894                                }
10768                              }9895                              }
10769                              description9896                              description
10770                                "description of the static route";9897                                "description of the static route";
10771                            }9898                            }
10772                            leaf track {9899                            leaf track {
10773                              type xr:Cisco-ios-xr-string {9900                              type xr:Cisco-ios-xr-string {
10774                                length "1..32" {9901                                length "1..32" {
10775                                  description9902                                  description
10776                                    "Object to be tracked";9903                                    "Object to be tracked";
10777                                }9904                                }
10778                              }9905                              }
10779                              description9906                              description
10780                                "Enable object tracking for static route";9907                                "Enable object tracking for static route";
10781                            }9908                            }
10782                            leaf metric {9909                            leaf metric {
10783                              type uint32 {9910                              type uint32 {
10784                                range "1..16777214" {9911                                range "1..16777214" {
10785                                  description9912                                  description
10786                                    "Set metric for this route";9913                                    "Set metric for this route";
10787                                }9914                                }
10788                              }9915                              }
10789                              description9916                              description
10790                                "Set metric for this route";9917                                "Set metric for this route";
10791                            }9918                            }
n10792                            leaf algorithm {n
10793                              type uint32 {
10794                                range "128..255" {
10795                                  description
10796                                    "Set algorithm value for this route";
10797                                }
10798                              }
10799                              description
10800                                "Set algorithm value for this route";
10801                            }
10802                            container prefer-rib-over-ldp {9919                            container prefer-rib-over-ldp {
10803                              presence "Indicates a prefer-rib-over-ldp node is configured.";9920                              presence "Indicates a prefer-rib-over-ldp node is configured.";
10804                              description9921                              description
10805                                "Flag passed to rib to prefer rib over ldp";9922                                "Flag passed to rib to prefer rib over ldp";
10806                            }9923                            }
10807                          }9924                          }
10808                        }9925                        }
10809                        container nexthop-addresses {9926                        container nexthop-addresses {
10810                          description9927                          description
10811                            "Forwarding router's address";9928                            "Forwarding router's address";
10812                          list nexthop-address {9929                          list nexthop-address {
10813                            key "address";9930                            key "address";
10814                            description9931                            description
10815                              "Forwarding router's address";9932                              "Forwarding router's address";
10816                            leaf address {9933                            leaf address {
10817                              type inet:ipv6-address-no-zone;9934                              type inet:ipv6-address-no-zone;
10818                              description9935                              description
10819                                "Forwarding router's address";9936                                "Forwarding router's address";
10820                            }9937                            }
10821                            container bfd {9938                            container bfd {
10822                              description9939                              description
10823                                "Configure BFD paramenters";9940                                "Configure BFD paramenters";
10824                              container fast-detect {9941                              container fast-detect {
10825                                presence "Indicates a fast-detect node is configured.";9942                                presence "Indicates a fast-detect node is configured.";
10826                                description9943                                description
10827                                  "Enable Fast detection";9944                                  "Enable Fast detection";
10828                                leaf minimum-interval {9945                                leaf minimum-interval {
10829                                  type uint32 {9946                                  type uint32 {
10830                                    range "3..30000" {9947                                    range "3..30000" {
10831                                      description9948                                      description
10832                                        "interval in milli-seconds";9949                                        "interval in milli-seconds";
10833                                    }9950                                    }
10834                                  }9951                                  }
10835                                  description9952                                  description
10836                                    "Hello interval";9953                                    "Hello interval";
10837                                }9954                                }
10838                                leaf multiplier {9955                                leaf multiplier {
10839                                  type uint32 {9956                                  type uint32 {
10840                                    range "1..10" {9957                                    range "1..10" {
10841                                      description9958                                      description
10842                                        "Detect multiplier";9959                                        "Detect multiplier";
10843                                    }9960                                    }
10844                                  }9961                                  }
10845                                  description9962                                  description
10846                                    "Detect multiplier";9963                                    "Detect multiplier";
10847                                }9964                                }
10848                                container multihop {9965                                container multihop {
10849                                  presence "Indicates a multihop node is configured.";9966                                  presence "Indicates a multihop node is configured.";
10850                                  description9967                                  description
10851                                    "Enable BFD Multihop";9968                                    "Enable BFD Multihop";
10852                                  leaf address {9969                                  leaf address {
10853                                    type inet:ipv6-address-no-zone;9970                                    type inet:ipv6-address-no-zone;
10854                                    mandatory true;9971                                    mandatory true;
10855                                    description9972                                    description
10856                                      "Source address";9973                                      "Source address";
10857                                  }9974                                  }
10858                                }9975                                }
10859                              }9976                              }
10860                            }9977                            }
10861                            leaf distance-metric {9978                            leaf distance-metric {
10862                              type uint32 {9979                              type uint32 {
10863                                range "1..254" {9980                                range "1..254" {
10864                                  description9981                                  description
10865                                    "Distance metric for this route";9982                                    "Distance metric for this route";
10866                                }9983                                }
10867                              }9984                              }
10868                              description9985                              description
10869                                "Distance metric for this route";9986                                "Distance metric for this route";
10870                            }9987                            }
10871                            leaf tag {9988                            leaf tag {
10872                              type uint32 {9989                              type uint32 {
10873                                range "1..4294967295" {9990                                range "1..4294967295" {
10874                                  description9991                                  description
10875                                    "Set tag for this route";9992                                    "Set tag for this route";
10876                                }9993                                }
10877                              }9994                              }
10878                              description9995                              description
10879                                "Set tag for this route";9996                                "Set tag for this route";
10880                            }9997                            }
10881                            container permanent {9998                            container permanent {
10882                              presence "Indicates a permanent node is configured.";9999                              presence "Indicates a permanent node is configured.";
10883                              description10000                              description
10884                                "Permanent route";10001                                "Permanent route";
10885                            }10002                            }
10886                            leaf vrflabel {10003                            leaf vrflabel {
10887                              type uint32 {10004                              type uint32 {
10888                                range "0..4294967295" {10005                                range "0..4294967295" {
10889                                  description10006                                  description
10890                                    "VRF label";10007                                    "VRF label";
10891                                }10008                                }
10892                              }10009                              }
10893                              description10010                              description
10894                                "VRF label";10011                                "VRF label";
10895                            }10012                            }
10896                            leaf tunnel-id {10013                            leaf tunnel-id {
10897                              type uint32 {10014                              type uint32 {
10898                                range "0..4294967295" {10015                                range "0..4294967295" {
10899                                  description10016                                  description
10900                                    "Tunnel ID";10017                                    "Tunnel ID";
10901                                }10018                                }
10902                              }10019                              }
10903                              description10020                              description
10904                                "Tunnel ID";10021                                "Tunnel ID";
10905                            }10022                            }
10906                            leaf description {10023                            leaf description {
10907                              type string {10024                              type string {
10908                                length "1..30" {10025                                length "1..30" {
10909                                  description10026                                  description
10910                                    "short description of static route";10027                                    "short description of static route";
10911                                }10028                                }
10912                              }10029                              }
10913                              description10030                              description
10914                                "description of the static route";10031                                "description of the static route";
10915                            }10032                            }
10916                            leaf track {10033                            leaf track {
10917                              type xr:Cisco-ios-xr-string {10034                              type xr:Cisco-ios-xr-string {
10918                                length "1..32" {10035                                length "1..32" {
10919                                  description10036                                  description
10920                                    "Object to be tracked";10037                                    "Object to be tracked";
10921                                }10038                                }
10922                              }10039                              }
10923                              description10040                              description
10924                                "Enable object tracking for static route";10041                                "Enable object tracking for static route";
10925                            }10042                            }
10926                            leaf metric {10043                            leaf metric {
10927                              type uint32 {10044                              type uint32 {
10928                                range "1..16777214" {10045                                range "1..16777214" {
10929                                  description10046                                  description
10930                                    "Set metric for this route";10047                                    "Set metric for this route";
10931                                }10048                                }
10932                              }10049                              }
10933                              description10050                              description
10934                                "Set metric for this route";10051                                "Set metric for this route";
n10935                            }n
10936                            leaf algorithm {
10937                              type uint32 {
10938                                range "128..255" {
10939                                  description
10940                                    "Set algorithm value for this route";
10941                                }
10942                              }
10943                              description
10944                                "Set algorithm value for this route";
10945                            }10052                            }
10946                            container prefer-rib-over-ldp {10053                            container prefer-rib-over-ldp {
10947                              presence "Indicates a prefer-rib-over-ldp node is configured.";10054                              presence "Indicates a prefer-rib-over-ldp node is configured.";
10948                              description10055                              description
10949                                "Flag passed to rib to prefer rib over ldp";10056                                "Flag passed to rib to prefer rib over ldp";
10950                            }10057                            }
10951                          }10058                          }
10952                        }10059                        }
10953                      }10060                      }
10954                    }10061                    }
10955                  }10062                  }
10956                }10063                }
10957              }10064              }
10958              container multicast {10065              container multicast {
10959                description10066                description
10960                  "Multicast commands";10067                  "Multicast commands";
10961                container prefixes {10068                container prefixes {
10962                  description10069                  description
10963                    "Destination prefix";10070                    "Destination prefix";
10964                  list prefix {10071                  list prefix {
10965                    must10072                    must
10966                      "segment-routing/mpls/path/names/name or10073                      "segment-routing/mpls/path/names/name or
10967                       sr-policies/sr-policy or10074                       sr-policies/sr-policy or
10968                       nexthop-interfaces/nexthop-interface or10075                       nexthop-interfaces/nexthop-interface or
10969                       nexthop-interface-addresses/nexthop-interface-address or10076                       nexthop-interface-addresses/nexthop-interface-address or
10970                       nexthop-addresses/nexthop-address or10077                       nexthop-addresses/nexthop-address or
10971                       nexthop-addresses/nexthop-address-segment-routing or10078                       nexthop-addresses/nexthop-address-segment-routing or
10972                       vrfs/vrf-only or vrfs/vrf/sr-policies/sr-policy or10079                       vrfs/vrf-only or vrfs/vrf/sr-policies/sr-policy or
10973                       vrfs/vrf/nexthop-interfaces/nexthop-interface or10080                       vrfs/vrf/nexthop-interfaces/nexthop-interface or
10974                       vrfs/vrf/nexthop-interface-addresses/nexthop-interface-address or10081                       vrfs/vrf/nexthop-interface-addresses/nexthop-interface-address or
10975                       vrfs/vrf/nexthop-addresses/nexthop-address";10082                       vrfs/vrf/nexthop-addresses/nexthop-address";
10976                    key "prefix-address prefix-length";10083                    key "prefix-address prefix-length";
10977                    description10084                    description
10978                      "Destination prefix";10085                      "Destination prefix";
10979                    leaf prefix-address {10086                    leaf prefix-address {
10980                      type inet:ipv6-address-no-zone;10087                      type inet:ipv6-address-no-zone;
10981                      description10088                      description
10982                        "Destination prefix";10089                        "Destination prefix";
10983                    }10090                    }
10984                    leaf prefix-length {10091                    leaf prefix-length {
10985                      type uint32 {10092                      type uint32 {
10986                        range "0..128";10093                        range "0..128";
10987                      }10094                      }
10988                      description10095                      description
10989                        "Destination prefix length";10096                        "Destination prefix length";
10990                    }10097                    }
10991                    container segment-routing {10098                    container segment-routing {
10992                      description10099                      description
10993                        "Configure Static Segment Routing";10100                        "Configure Static Segment Routing";
10994                      container mpls {10101                      container mpls {
10995                        description10102                        description
10996                          "Configure mpls path name";10103                          "Configure mpls path name";
10997                        container path {10104                        container path {
10998                          description10105                          description
10999                            "Configure path name";10106                            "Configure path name";
11000                          container names {10107                          container names {
11001                            description10108                            description
11002                              "Configure path name";10109                              "Configure path name";
11003                            list name {10110                            list name {
11004                              key "path-name";10111                              key "path-name";
11005                              description10112                              description
11006                                "Configure path name";10113                                "Configure path name";
11007                              leaf path-name {10114                              leaf path-name {
11008                                type xr:Cisco-ios-xr-string {10115                                type xr:Cisco-ios-xr-string {
11009                                  length "1..1024" {10116                                  length "1..1024" {
11010                                    description10117                                    description
11011                                      "Path name";10118                                      "Path name";
11012                                  }10119                                  }
11013                                }10120                                }
11014                                description10121                                description
11015                                  "Configure path name";10122                                  "Configure path name";
11016                              }10123                              }
11017                              leaf distance-metric {10124                              leaf distance-metric {
11018                                type uint32 {10125                                type uint32 {
11019                                  range "1..254" {10126                                  range "1..254" {
11020                                    description10127                                    description
11021                                      "Distance metric for this route";10128                                      "Distance metric for this route";
11022                                  }10129                                  }
11023                                }10130                                }
11024                                description10131                                description
11025                                  "Distance metric for this route";10132                                  "Distance metric for this route";
11026                              }10133                              }
11027                              leaf tag {10134                              leaf tag {
11028                                type uint32 {10135                                type uint32 {
11029                                  range "1..4294967295" {10136                                  range "1..4294967295" {
11030                                    description10137                                    description
11031                                      "Set tag for this route";10138                                      "Set tag for this route";
11032                                  }10139                                  }
11033                                }10140                                }
11034                                description10141                                description
11035                                  "Set tag for this route";10142                                  "Set tag for this route";
11036                              }10143                              }
11037                              leaf description {10144                              leaf description {
11038                                type string {10145                                type string {
11039                                  length "1..30" {10146                                  length "1..30" {
11040                                    description10147                                    description
11041                                      "short description of static route";10148                                      "short description of static route";
11042                                  }10149                                  }
11043                                }10150                                }
11044                                description10151                                description
11045                                  "description of the static route";10152                                  "description of the static route";
11046                              }10153                              }
11047                              leaf metric {10154                              leaf metric {
11048                                type uint32 {10155                                type uint32 {
11049                                  range "1..16777214" {10156                                  range "1..16777214" {
11050                                    description10157                                    description
11051                                      "Set metric for this route";10158                                      "Set metric for this route";
11052                                  }10159                                  }
11053                                }10160                                }
11054                                description10161                                description
11055                                  "Set metric for this route";10162                                  "Set metric for this route";
11056                              }10163                              }
n11057                              leaf algorithm {n
11058                                type uint32 {
11059                                  range "128..255" {
11060                                    description
11061                                      "Set algorithm value for this route";
11062                                  }
11063                                }
11064                                description
11065                                  "Set algorithm value for this route";
11066                              }
11067                            }10164                            }
11068                          }10165                          }
11069                        }10166                        }
11070                      }10167                      }
11071                    }10168                    }
11072                    container sr-policies {10169                    container sr-policies {
11073                      description10170                      description
11074                        "segment routing policy";10171                        "segment routing policy";
11075                      list sr-policy {10172                      list sr-policy {
11076                        key "sr-policy-name";10173                        key "sr-policy-name";
11077                        description10174                        description
11078                          "segment routing policy";10175                          "segment routing policy";
11079                        leaf sr-policy-name {10176                        leaf sr-policy-name {
11080                          type xr:Cisco-ios-xr-string {10177                          type xr:Cisco-ios-xr-string {
11081                            length "1..1024" {10178                            length "1..1024" {
11082                              description10179                              description
11083                                "SR policy name";10180                                "SR policy name";
11084                            }10181                            }
11085                          }10182                          }
11086                          description10183                          description
11087                            "segment routing policy";10184                            "segment routing policy";
11088                        }10185                        }
11089                        leaf distance-metric {10186                        leaf distance-metric {
11090                          type uint32 {10187                          type uint32 {
11091                            range "1..254" {10188                            range "1..254" {
11092                              description10189                              description
11093                                "Distance metric for this route";10190                                "Distance metric for this route";
11094                            }10191                            }
11095                          }10192                          }
11096                          description10193                          description
11097                            "Distance metric for this route";10194                            "Distance metric for this route";
11098                        }10195                        }
11099                        leaf tag {10196                        leaf tag {
11100                          type uint32 {10197                          type uint32 {
11101                            range "1..4294967295" {10198                            range "1..4294967295" {
11102                              description10199                              description
11103                                "Set tag for this route";10200                                "Set tag for this route";
11104                            }10201                            }
11105                          }10202                          }
11106                          description10203                          description
11107                            "Set tag for this route";10204                            "Set tag for this route";
11108                        }10205                        }
11109                        container permanent {10206                        container permanent {
11110                          presence "Indicates a permanent node is configured.";10207                          presence "Indicates a permanent node is configured.";
11111                          description10208                          description
11112                            "Permanent route";10209                            "Permanent route";
11113                        }10210                        }
11114                        leaf vrflabel {10211                        leaf vrflabel {
11115                          type uint32 {10212                          type uint32 {
11116                            range "0..4294967295" {10213                            range "0..4294967295" {
11117                              description10214                              description
11118                                "VRF label";10215                                "VRF label";
11119                            }10216                            }
11120                          }10217                          }
11121                          description10218                          description
11122                            "VRF label";10219                            "VRF label";
11123                        }10220                        }
11124                        leaf tunnel-id {10221                        leaf tunnel-id {
11125                          type uint32 {10222                          type uint32 {
11126                            range "0..4294967295" {10223                            range "0..4294967295" {
11127                              description10224                              description
11128                                "Tunnel ID";10225                                "Tunnel ID";
11129                            }10226                            }
11130                          }10227                          }
11131                          description10228                          description
11132                            "Tunnel ID";10229                            "Tunnel ID";
11133                        }10230                        }
11134                        leaf description {10231                        leaf description {
11135                          type string {10232                          type string {
11136                            length "1..30" {10233                            length "1..30" {
11137                              description10234                              description
11138                                "short description of static route";10235                                "short description of static route";
11139                            }10236                            }
11140                          }10237                          }
11141                          description10238                          description
11142                            "description of the static route";10239                            "description of the static route";
11143                        }10240                        }
11144                        leaf track {10241                        leaf track {
11145                          type xr:Cisco-ios-xr-string {10242                          type xr:Cisco-ios-xr-string {
11146                            length "1..32" {10243                            length "1..32" {
11147                              description10244                              description
11148                                "Object to be tracked";10245                                "Object to be tracked";
11149                            }10246                            }
11150                          }10247                          }
11151                          description10248                          description
11152                            "Enable object tracking for static route";10249                            "Enable object tracking for static route";
11153                        }10250                        }
11154                        leaf metric {10251                        leaf metric {
11155                          type uint32 {10252                          type uint32 {
11156                            range "1..16777214" {10253                            range "1..16777214" {
11157                              description10254                              description
11158                                "Set metric for this route";10255                                "Set metric for this route";
11159                            }10256                            }
11160                          }10257                          }
11161                          description10258                          description
11162                            "Set metric for this route";10259                            "Set metric for this route";
11163                        }10260                        }
n11164                        leaf algorithm {n
11165                          type uint32 {
11166                            range "128..255" {
11167                              description
11168                                "Set algorithm value for this route";
11169                            }
11170                          }
11171                          description
11172                            "Set algorithm value for this route";
11173                        }
11174                        container prefer-rib-over-ldp {10261                        container prefer-rib-over-ldp {
11175                          presence "Indicates a prefer-rib-over-ldp node is configured.";10262                          presence "Indicates a prefer-rib-over-ldp node is configured.";
11176                          description10263                          description
11177                            "Flag passed to rib to prefer rib over ldp";10264                            "Flag passed to rib to prefer rib over ldp";
11178                        }10265                        }
11179                      }10266                      }
11180                    }10267                    }
11181                    container nexthop-interfaces {10268                    container nexthop-interfaces {
11182                      description10269                      description
11183                        "Forwarding interface";10270                        "Forwarding interface";
11184                      list nexthop-interface {10271                      list nexthop-interface {
11185                        key "interface-name";10272                        key "interface-name";
11186                        description10273                        description
11187                          "Forwarding interface";10274                          "Forwarding interface";
11188                        leaf interface-name {10275                        leaf interface-name {
11189                          type xr:Interface-name;10276                          type xr:Interface-name;
11190                          description10277                          description
11191                            "Forwarding interface";10278                            "Forwarding interface";
11192                        }10279                        }
11193                        leaf distance-metric {10280                        leaf distance-metric {
11194                          type uint32 {10281                          type uint32 {
11195                            range "1..254" {10282                            range "1..254" {
11196                              description10283                              description
11197                                "Distance metric for this route";10284                                "Distance metric for this route";
11198                            }10285                            }
11199                          }10286                          }
11200                          description10287                          description
11201                            "Distance metric for this route";10288                            "Distance metric for this route";
11202                        }10289                        }
11203                        leaf tag {10290                        leaf tag {
11204                          type uint32 {10291                          type uint32 {
11205                            range "1..4294967295" {10292                            range "1..4294967295" {
11206                              description10293                              description
11207                                "Set tag for this route";10294                                "Set tag for this route";
11208                            }10295                            }
11209                          }10296                          }
11210                          description10297                          description
11211                            "Set tag for this route";10298                            "Set tag for this route";
11212                        }10299                        }
11213                        container permanent {10300                        container permanent {
11214                          presence "Indicates a permanent node is configured.";10301                          presence "Indicates a permanent node is configured.";
11215                          description10302                          description
11216                            "Permanent route";10303                            "Permanent route";
11217                        }10304                        }
11218                        leaf vrflabel {10305                        leaf vrflabel {
11219                          type uint32 {10306                          type uint32 {
11220                            range "0..4294967295" {10307                            range "0..4294967295" {
11221                              description10308                              description
11222                                "VRF label";10309                                "VRF label";
11223                            }10310                            }
11224                          }10311                          }
11225                          description10312                          description
11226                            "VRF label";10313                            "VRF label";
11227                        }10314                        }
11228                        leaf tunnel-id {10315                        leaf tunnel-id {
11229                          type uint32 {10316                          type uint32 {
11230                            range "0..4294967295" {10317                            range "0..4294967295" {
11231                              description10318                              description
11232                                "Tunnel ID";10319                                "Tunnel ID";
11233                            }10320                            }
11234                          }10321                          }
11235                          description10322                          description
11236                            "Tunnel ID";10323                            "Tunnel ID";
11237                        }10324                        }
11238                        leaf description {10325                        leaf description {
11239                          type string {10326                          type string {
11240                            length "1..30" {10327                            length "1..30" {
11241                              description10328                              description
11242                                "short description of static route";10329                                "short description of static route";
11243                            }10330                            }
11244                          }10331                          }
11245                          description10332                          description
11246                            "description of the static route";10333                            "description of the static route";
11247                        }10334                        }
11248                        leaf track {10335                        leaf track {
11249                          type xr:Cisco-ios-xr-string {10336                          type xr:Cisco-ios-xr-string {
11250                            length "1..32" {10337                            length "1..32" {
11251                              description10338                              description
11252                                "Object to be tracked";10339                                "Object to be tracked";
11253                            }10340                            }
11254                          }10341                          }
11255                          description10342                          description
11256                            "Enable object tracking for static route";10343                            "Enable object tracking for static route";
11257                        }10344                        }
11258                        leaf metric {10345                        leaf metric {
11259                          type uint32 {10346                          type uint32 {
11260                            range "1..16777214" {10347                            range "1..16777214" {
11261                              description10348                              description
11262                                "Set metric for this route";10349                                "Set metric for this route";
11263                            }10350                            }
11264                          }10351                          }
11265                          description10352                          description
11266                            "Set metric for this route";10353                            "Set metric for this route";
11267                        }10354                        }
n11268                        leaf algorithm {n
11269                          type uint32 {
11270                            range "128..255" {
11271                              description
11272                                "Set algorithm value for this route";
11273                            }
11274                          }
11275                          description
11276                            "Set algorithm value for this route";
11277                        }
11278                        container prefer-rib-over-ldp {10355                        container prefer-rib-over-ldp {
11279                          presence "Indicates a prefer-rib-over-ldp node is configured.";10356                          presence "Indicates a prefer-rib-over-ldp node is configured.";
11280                          description10357                          description
11281                            "Flag passed to rib to prefer rib over ldp";10358                            "Flag passed to rib to prefer rib over ldp";
11282                        }10359                        }
11283                      }10360                      }
11284                    }10361                    }
11285                    container nexthop-interface-addresses {10362                    container nexthop-interface-addresses {
11286                      description10363                      description
11287                        "Forwarding interface";10364                        "Forwarding interface";
11288                      list nexthop-interface-address {10365                      list nexthop-interface-address {
11289                        key "interface-name address";10366                        key "interface-name address";
11290                        description10367                        description
11291                          "Forwarding interface";10368                          "Forwarding interface";
11292                        leaf interface-name {10369                        leaf interface-name {
11293                          type xr:Interface-name;10370                          type xr:Interface-name;
11294                          description10371                          description
11295                            "Forwarding interface";10372                            "Forwarding interface";
11296                        }10373                        }
11297                        leaf address {10374                        leaf address {
11298                          type inet:ipv6-address-no-zone;10375                          type inet:ipv6-address-no-zone;
11299                          description10376                          description
11300                            "Forwarding router's address";10377                            "Forwarding router's address";
11301                        }10378                        }
11302                        container bfd {10379                        container bfd {
11303                          description10380                          description
11304                            "Configure BFD paramenters";10381                            "Configure BFD paramenters";
11305                          container fast-detect {10382                          container fast-detect {
11306                            presence "Indicates a fast-detect node is configured.";10383                            presence "Indicates a fast-detect node is configured.";
11307                            description10384                            description
11308                              "Enable Fast detection";10385                              "Enable Fast detection";
11309                            leaf minimum-interval {10386                            leaf minimum-interval {
11310                              type uint32 {10387                              type uint32 {
11311                                range "3..30000" {10388                                range "3..30000" {
11312                                  description10389                                  description
11313                                    "interval in milli-seconds";10390                                    "interval in milli-seconds";
11314                                }10391                                }
11315                              }10392                              }
11316                              description10393                              description
11317                                "Hello interval";10394                                "Hello interval";
11318                            }10395                            }
11319                            leaf multiplier {10396                            leaf multiplier {
11320                              type uint32 {10397                              type uint32 {
11321                                range "1..10" {10398                                range "1..10" {
11322                                  description10399                                  description
11323                                    "Detect multiplier";10400                                    "Detect multiplier";
11324                                }10401                                }
11325                              }10402                              }
11326                              description10403                              description
11327                                "Detect multiplier";10404                                "Detect multiplier";
11328                            }10405                            }
11329                          }10406                          }
11330                        }10407                        }
11331                        leaf distance-metric {10408                        leaf distance-metric {
11332                          type uint32 {10409                          type uint32 {
11333                            range "1..254" {10410                            range "1..254" {
11334                              description10411                              description
11335                                "Distance metric for this route";10412                                "Distance metric for this route";
11336                            }10413                            }
11337                          }10414                          }
11338                          description10415                          description
11339                            "Distance metric for this route";10416                            "Distance metric for this route";
11340                        }10417                        }
11341                        leaf tag {10418                        leaf tag {
11342                          type uint32 {10419                          type uint32 {
11343                            range "1..4294967295" {10420                            range "1..4294967295" {
11344                              description10421                              description
11345                                "Set tag for this route";10422                                "Set tag for this route";
11346                            }10423                            }
11347                          }10424                          }
11348                          description10425                          description
11349                            "Set tag for this route";10426                            "Set tag for this route";
11350                        }10427                        }
11351                        container permanent {10428                        container permanent {
11352                          presence "Indicates a permanent node is configured.";10429                          presence "Indicates a permanent node is configured.";
11353                          description10430                          description
11354                            "Permanent route";10431                            "Permanent route";
11355                        }10432                        }
11356                        leaf vrflabel {10433                        leaf vrflabel {
11357                          type uint32 {10434                          type uint32 {
11358                            range "0..4294967295" {10435                            range "0..4294967295" {
11359                              description10436                              description
11360                                "VRF label";10437                                "VRF label";
11361                            }10438                            }
11362                          }10439                          }
11363                          description10440                          description
11364                            "VRF label";10441                            "VRF label";
11365                        }10442                        }
11366                        leaf tunnel-id {10443                        leaf tunnel-id {
11367                          type uint32 {10444                          type uint32 {
11368                            range "0..4294967295" {10445                            range "0..4294967295" {
11369                              description10446                              description
11370                                "Tunnel ID";10447                                "Tunnel ID";
11371                            }10448                            }
11372                          }10449                          }
11373                          description10450                          description
11374                            "Tunnel ID";10451                            "Tunnel ID";
11375                        }10452                        }
11376                        leaf description {10453                        leaf description {
11377                          type string {10454                          type string {
11378                            length "1..30" {10455                            length "1..30" {
11379                              description10456                              description
11380                                "short description of static route";10457                                "short description of static route";
11381                            }10458                            }
11382                          }10459                          }
11383                          description10460                          description
11384                            "description of the static route";10461                            "description of the static route";
11385                        }10462                        }
11386                        leaf track {10463                        leaf track {
11387                          type xr:Cisco-ios-xr-string {10464                          type xr:Cisco-ios-xr-string {
11388                            length "1..32" {10465                            length "1..32" {
11389                              description10466                              description
11390                                "Object to be tracked";10467                                "Object to be tracked";
11391                            }10468                            }
11392                          }10469                          }
11393                          description10470                          description
11394                            "Enable object tracking for static route";10471                            "Enable object tracking for static route";
11395                        }10472                        }
11396                        leaf metric {10473                        leaf metric {
11397                          type uint32 {10474                          type uint32 {
11398                            range "1..16777214" {10475                            range "1..16777214" {
11399                              description10476                              description
11400                                "Set metric for this route";10477                                "Set metric for this route";
11401                            }10478                            }
11402                          }10479                          }
11403                          description10480                          description
11404                            "Set metric for this route";10481                            "Set metric for this route";
11405                        }10482                        }
n11406                        leaf algorithm {n
11407                          type uint32 {
11408                            range "128..255" {
11409                              description
11410                                "Set algorithm value for this route";
11411                            }
11412                          }
11413                          description
11414                            "Set algorithm value for this route";
11415                        }
11416                        container prefer-rib-over-ldp {10483                        container prefer-rib-over-ldp {
11417                          presence "Indicates a prefer-rib-over-ldp node is configured.";10484                          presence "Indicates a prefer-rib-over-ldp node is configured.";
11418                          description10485                          description
11419                            "Flag passed to rib to prefer rib over ldp";10486                            "Flag passed to rib to prefer rib over ldp";
11420                        }10487                        }
11421                      }10488                      }
11422                    }10489                    }
11423                    container nexthop-addresses {10490                    container nexthop-addresses {
11424                      description10491                      description
11425                        "Forwarding router's address";10492                        "Forwarding router's address";
11426                      list nexthop-address {10493                      list nexthop-address {
11427                        key "address";10494                        key "address";
11428                        description10495                        description
11429                          "Forwarding router's address";10496                          "Forwarding router's address";
11430                        leaf address {10497                        leaf address {
11431                          type inet:ipv6-address-no-zone;10498                          type inet:ipv6-address-no-zone;
11432                          description10499                          description
11433                            "Forwarding router's address";10500                            "Forwarding router's address";
11434                        }10501                        }
11435                        container bfd {10502                        container bfd {
11436                          description10503                          description
11437                            "Configure BFD paramenters";10504                            "Configure BFD paramenters";
11438                          container fast-detect {10505                          container fast-detect {
11439                            presence "Indicates a fast-detect node is configured.";10506                            presence "Indicates a fast-detect node is configured.";
11440                            description10507                            description
11441                              "Enable Fast detection";10508                              "Enable Fast detection";
11442                            leaf minimum-interval {10509                            leaf minimum-interval {
11443                              type uint32 {10510                              type uint32 {
11444                                range "3..30000" {10511                                range "3..30000" {
11445                                  description10512                                  description
11446                                    "interval in milli-seconds";10513                                    "interval in milli-seconds";
11447                                }10514                                }
11448                              }10515                              }
11449                              description10516                              description
11450                                "Hello interval";10517                                "Hello interval";
11451                            }10518                            }
11452                            leaf multiplier {10519                            leaf multiplier {
11453                              type uint32 {10520                              type uint32 {
11454                                range "1..10" {10521                                range "1..10" {
11455                                  description10522                                  description
11456                                    "Detect multiplier";10523                                    "Detect multiplier";
11457                                }10524                                }
11458                              }10525                              }
11459                              description10526                              description
11460                                "Detect multiplier";10527                                "Detect multiplier";
11461                            }10528                            }
11462                            container multihop {10529                            container multihop {
11463                              presence "Indicates a multihop node is configured.";10530                              presence "Indicates a multihop node is configured.";
11464                              description10531                              description
11465                                "Enable BFD Multihop";10532                                "Enable BFD Multihop";
11466                              leaf address {10533                              leaf address {
11467                                type inet:ipv6-address-no-zone;10534                                type inet:ipv6-address-no-zone;
11468                                mandatory true;10535                                mandatory true;
11469                                description10536                                description
11470                                  "Source address";10537                                  "Source address";
11471                              }10538                              }
11472                            }10539                            }
11473                          }10540                          }
11474                        }10541                        }
11475                        leaf distance-metric {10542                        leaf distance-metric {
11476                          type uint32 {10543                          type uint32 {
11477                            range "1..254" {10544                            range "1..254" {
11478                              description10545                              description
11479                                "Distance metric for this route";10546                                "Distance metric for this route";
11480                            }10547                            }
11481                          }10548                          }
11482                          description10549                          description
11483                            "Distance metric for this route";10550                            "Distance metric for this route";
11484                        }10551                        }
11485                        leaf tag {10552                        leaf tag {
11486                          type uint32 {10553                          type uint32 {
11487                            range "1..4294967295" {10554                            range "1..4294967295" {
11488                              description10555                              description
11489                                "Set tag for this route";10556                                "Set tag for this route";
11490                            }10557                            }
11491                          }10558                          }
11492                          description10559                          description
11493                            "Set tag for this route";10560                            "Set tag for this route";
11494                        }10561                        }
11495                        container permanent {10562                        container permanent {
11496                          presence "Indicates a permanent node is configured.";10563                          presence "Indicates a permanent node is configured.";
11497                          description10564                          description
11498                            "Permanent route";10565                            "Permanent route";
11499                        }10566                        }
11500                        leaf vrflabel {10567                        leaf vrflabel {
11501                          type uint32 {10568                          type uint32 {
11502                            range "0..4294967295" {10569                            range "0..4294967295" {
11503                              description10570                              description
11504                                "VRF label";10571                                "VRF label";
11505                            }10572                            }
11506                          }10573                          }
11507                          description10574                          description
11508                            "VRF label";10575                            "VRF label";
11509                        }10576                        }
11510                        leaf tunnel-id {10577                        leaf tunnel-id {
11511                          type uint32 {10578                          type uint32 {
11512                            range "0..4294967295" {10579                            range "0..4294967295" {
11513                              description10580                              description
11514                                "Tunnel ID";10581                                "Tunnel ID";
11515                            }10582                            }
11516                          }10583                          }
11517                          description10584                          description
11518                            "Tunnel ID";10585                            "Tunnel ID";
11519                        }10586                        }
11520                        leaf description {10587                        leaf description {
11521                          type string {10588                          type string {
11522                            length "1..30" {10589                            length "1..30" {
11523                              description10590                              description
11524                                "short description of static route";10591                                "short description of static route";
11525                            }10592                            }
11526                          }10593                          }
11527                          description10594                          description
11528                            "description of the static route";10595                            "description of the static route";
11529                        }10596                        }
11530                        leaf track {10597                        leaf track {
11531                          type xr:Cisco-ios-xr-string {10598                          type xr:Cisco-ios-xr-string {
11532                            length "1..32" {10599                            length "1..32" {
11533                              description10600                              description
11534                                "Object to be tracked";10601                                "Object to be tracked";
11535                            }10602                            }
11536                          }10603                          }
11537                          description10604                          description
11538                            "Enable object tracking for static route";10605                            "Enable object tracking for static route";
11539                        }10606                        }
11540                        leaf metric {10607                        leaf metric {
11541                          type uint32 {10608                          type uint32 {
11542                            range "1..16777214" {10609                            range "1..16777214" {
11543                              description10610                              description
11544                                "Set metric for this route";10611                                "Set metric for this route";
11545                            }10612                            }
11546                          }10613                          }
11547                          description10614                          description
11548                            "Set metric for this route";10615                            "Set metric for this route";
11549                        }10616                        }
n11550                        leaf algorithm {n
11551                          type uint32 {
11552                            range "128..255" {
11553                              description
11554                                "Set algorithm value for this route";
11555                            }
11556                          }
11557                          description
11558                            "Set algorithm value for this route";
11559                        }
11560                        container prefer-rib-over-ldp {10617                        container prefer-rib-over-ldp {
11561                          presence "Indicates a prefer-rib-over-ldp node is configured.";10618                          presence "Indicates a prefer-rib-over-ldp node is configured.";
11562                          description10619                          description
11563                            "Flag passed to rib to prefer rib over ldp";10620                            "Flag passed to rib to prefer rib over ldp";
11564                        }10621                        }
11565                      }10622                      }
11566                      list nexthop-address-segment-routing {10623                      list nexthop-address-segment-routing {
11567                        key "address mpls-path-name";10624                        key "address mpls-path-name";
11568                        description10625                        description
11569                          "Forwarding router's address";10626                          "Forwarding router's address";
11570                        leaf address {10627                        leaf address {
11571                          type inet:ipv6-address-no-zone;10628                          type inet:ipv6-address-no-zone;
11572                          description10629                          description
11573                            "Forwarding router's address";10630                            "Forwarding router's address";
11574                        }10631                        }
11575                        leaf mpls-path-name {10632                        leaf mpls-path-name {
11576                          type xr:Cisco-ios-xr-string {10633                          type xr:Cisco-ios-xr-string {
11577                            length "1..1024" {10634                            length "1..1024" {
11578                              description10635                              description
11579                                "Path name";10636                                "Path name";
11580                            }10637                            }
11581                          }10638                          }
11582                          description10639                          description
11583                            "Configure path name";10640                            "Configure path name";
11584                        }10641                        }
11585                        leaf distance-metric {10642                        leaf distance-metric {
11586                          type uint32 {10643                          type uint32 {
11587                            range "1..254" {10644                            range "1..254" {
11588                              description10645                              description
11589                                "Distance metric for this route";10646                                "Distance metric for this route";
11590                            }10647                            }
11591                          }10648                          }
11592                          description10649                          description
11593                            "Distance metric for this route";10650                            "Distance metric for this route";
11594                        }10651                        }
11595                        leaf tag {10652                        leaf tag {
11596                          type uint32 {10653                          type uint32 {
11597                            range "1..4294967295" {10654                            range "1..4294967295" {
11598                              description10655                              description
11599                                "Set tag for this route";10656                                "Set tag for this route";
11600                            }10657                            }
11601                          }10658                          }
11602                          description10659                          description
11603                            "Set tag for this route";10660                            "Set tag for this route";
11604                        }10661                        }
11605                        leaf description {10662                        leaf description {
11606                          type string {10663                          type string {
11607                            length "1..30" {10664                            length "1..30" {
11608                              description10665                              description
11609                                "short description of static route";10666                                "short description of static route";
11610                            }10667                            }
11611                          }10668                          }
11612                          description10669                          description
11613                            "description of the static route";10670                            "description of the static route";
11614                        }10671                        }
11615                        leaf metric {10672                        leaf metric {
11616                          type uint32 {10673                          type uint32 {
11617                            range "1..16777214" {10674                            range "1..16777214" {
11618                              description10675                              description
11619                                "Set metric for this route";10676                                "Set metric for this route";
11620                            }10677                            }
11621                          }10678                          }
11622                          description10679                          description
11623                            "Set metric for this route";10680                            "Set metric for this route";
n11624                        }n
11625                        leaf algorithm {
11626                          type uint32 {
11627                            range "128..255" {
11628                              description
11629                                "Set algorithm value for this route";
11630                            }
11631                          }
11632                          description
11633                            "Set algorithm value for this route";
11634                        }10681                        }
11635                      }10682                      }
11636                    }10683                    }
11637                    container vrfs {10684                    container vrfs {
11638                      description10685                      description
11639                        "Destination VRF";10686                        "Destination VRF";
11640                      list vrf-only {10687                      list vrf-only {
11641                        key "vrf-name";10688                        key "vrf-name";
11642                        description10689                        description
11643                          "Destination only VRF";10690                          "Destination only VRF";
11644                        leaf vrf-name {10691                        leaf vrf-name {
11645                          type xr:Cisco-ios-xr-string {10692                          type xr:Cisco-ios-xr-string {
11646                            length "1..32" {10693                            length "1..32" {
11647                              description10694                              description
11648                                "VRF name";10695                                "VRF name";
11649                            }10696                            }
11650                          }10697                          }
11651                          description10698                          description
11652                            "Destination VRF";10699                            "Destination VRF";
n11653                        }n
11654                        leaf description {
11655                          type string {
11656                            length "1..254" {
11657                              description
11658                                "short description of static route";
11659                            }
11660                          }
11661                          description
11662                            "description of the static route";
11663                        }
11664                        leaf algorithm {
11665                          type uint32 {
11666                            range "128..255" {
11667                              description
11668                                "Set algorithm value for this route";
11669                            }
11670                          }
11671                          description
11672                            "Set algorithm value for this route";
11673                        }10700                        }
11674                      }10701                      }
11675                      list vrf {10702                      list vrf {
11676                        must10703                        must
11677                          "sr-policies/sr-policy or10704                          "sr-policies/sr-policy or
11678                           nexthop-interfaces/nexthop-interface or10705                           nexthop-interfaces/nexthop-interface or
11679                           nexthop-interface-addresses/nexthop-interface-address or10706                           nexthop-interface-addresses/nexthop-interface-address or
11680                           nexthop-addresses/nexthop-address";10707                           nexthop-addresses/nexthop-address";
11681                        key "vrf-name";10708                        key "vrf-name";
11682                        description10709                        description
11683                          "Destination VRF";10710                          "Destination VRF";
11684                        leaf vrf-name {10711                        leaf vrf-name {
11685                          type xr:Cisco-ios-xr-string {10712                          type xr:Cisco-ios-xr-string {
11686                            length "1..32" {10713                            length "1..32" {
11687                              description10714                              description
11688                                "VRF name";10715                                "VRF name";
11689                            }10716                            }
11690                          }10717                          }
11691                          description10718                          description
11692                            "Destination VRF";10719                            "Destination VRF";
11693                        }10720                        }
11694                        container sr-policies {10721                        container sr-policies {
11695                          description10722                          description
11696                            "segment routing policy";10723                            "segment routing policy";
11697                          list sr-policy {10724                          list sr-policy {
11698                            key "sr-policy-name";10725                            key "sr-policy-name";
11699                            description10726                            description
11700                              "segment routing policy";10727                              "segment routing policy";
11701                            leaf sr-policy-name {10728                            leaf sr-policy-name {
11702                              type xr:Cisco-ios-xr-string {10729                              type xr:Cisco-ios-xr-string {
11703                                length "1..1024" {10730                                length "1..1024" {
11704                                  description10731                                  description
11705                                    "SR policy name";10732                                    "SR policy name";
11706                                }10733                                }
11707                              }10734                              }
11708                              description10735                              description
11709                                "segment routing policy";10736                                "segment routing policy";
11710                            }10737                            }
11711                            leaf distance-metric {10738                            leaf distance-metric {
11712                              type uint32 {10739                              type uint32 {
11713                                range "1..254" {10740                                range "1..254" {
11714                                  description10741                                  description
11715                                    "Distance metric for this route";10742                                    "Distance metric for this route";
11716                                }10743                                }
11717                              }10744                              }
11718                              description10745                              description
11719                                "Distance metric for this route";10746                                "Distance metric for this route";
11720                            }10747                            }
11721                            leaf tag {10748                            leaf tag {
11722                              type uint32 {10749                              type uint32 {
11723                                range "1..4294967295" {10750                                range "1..4294967295" {
11724                                  description10751                                  description
11725                                    "Set tag for this route";10752                                    "Set tag for this route";
11726                                }10753                                }
11727                              }10754                              }
11728                              description10755                              description
11729                                "Set tag for this route";10756                                "Set tag for this route";
11730                            }10757                            }
11731                            container permanent {10758                            container permanent {
11732                              presence "Indicates a permanent node is configured.";10759                              presence "Indicates a permanent node is configured.";
11733                              description10760                              description
11734                                "Permanent route";10761                                "Permanent route";
11735                            }10762                            }
11736                            leaf vrflabel {10763                            leaf vrflabel {
11737                              type uint32 {10764                              type uint32 {
11738                                range "0..4294967295" {10765                                range "0..4294967295" {
11739                                  description10766                                  description
11740                                    "VRF label";10767                                    "VRF label";
11741                                }10768                                }
11742                              }10769                              }
11743                              description10770                              description
11744                                "VRF label";10771                                "VRF label";
11745                            }10772                            }
11746                            leaf tunnel-id {10773                            leaf tunnel-id {
11747                              type uint32 {10774                              type uint32 {
11748                                range "0..4294967295" {10775                                range "0..4294967295" {
11749                                  description10776                                  description
11750                                    "Tunnel ID";10777                                    "Tunnel ID";
11751                                }10778                                }
11752                              }10779                              }
11753                              description10780                              description
11754                                "Tunnel ID";10781                                "Tunnel ID";
11755                            }10782                            }
11756                            leaf description {10783                            leaf description {
11757                              type string {10784                              type string {
11758                                length "1..30" {10785                                length "1..30" {
11759                                  description10786                                  description
11760                                    "short description of static route";10787                                    "short description of static route";
11761                                }10788                                }
11762                              }10789                              }
11763                              description10790                              description
11764                                "description of the static route";10791                                "description of the static route";
11765                            }10792                            }
11766                            leaf track {10793                            leaf track {
11767                              type xr:Cisco-ios-xr-string {10794                              type xr:Cisco-ios-xr-string {
11768                                length "1..32" {10795                                length "1..32" {
11769                                  description10796                                  description
11770                                    "Object to be tracked";10797                                    "Object to be tracked";
11771                                }10798                                }
11772                              }10799                              }
11773                              description10800                              description
11774                                "Enable object tracking for static route";10801                                "Enable object tracking for static route";
11775                            }10802                            }
11776                            leaf metric {10803                            leaf metric {
11777                              type uint32 {10804                              type uint32 {
11778                                range "1..16777214" {10805                                range "1..16777214" {
11779                                  description10806                                  description
11780                                    "Set metric for this route";10807                                    "Set metric for this route";
11781                                }10808                                }
11782                              }10809                              }
11783                              description10810                              description
11784                                "Set metric for this route";10811                                "Set metric for this route";
11785                            }10812                            }
n11786                            leaf algorithm {n
11787                              type uint32 {
11788                                range "128..255" {
11789                                  description
11790                                    "Set algorithm value for this route";
11791                                }
11792                              }
11793                              description
11794                                "Set algorithm value for this route";
11795                            }
11796                            container prefer-rib-over-ldp {10813                            container prefer-rib-over-ldp {
11797                              presence "Indicates a prefer-rib-over-ldp node is configured.";10814                              presence "Indicates a prefer-rib-over-ldp node is configured.";
11798                              description10815                              description
11799                                "Flag passed to rib to prefer rib over ldp";10816                                "Flag passed to rib to prefer rib over ldp";
11800                            }10817                            }
11801                          }10818                          }
11802                        }10819                        }
11803                        container nexthop-interfaces {10820                        container nexthop-interfaces {
11804                          description10821                          description
11805                            "Forwarding interface";10822                            "Forwarding interface";
11806                          list nexthop-interface {10823                          list nexthop-interface {
11807                            key "interface-name";10824                            key "interface-name";
11808                            description10825                            description
11809                              "Forwarding interface";10826                              "Forwarding interface";
11810                            leaf interface-name {10827                            leaf interface-name {
11811                              type xr:Interface-name;10828                              type xr:Interface-name;
11812                              description10829                              description
11813                                "Forwarding interface";10830                                "Forwarding interface";
11814                            }10831                            }
11815                            leaf distance-metric {10832                            leaf distance-metric {
11816                              type uint32 {10833                              type uint32 {
11817                                range "1..254" {10834                                range "1..254" {
11818                                  description10835                                  description
11819                                    "Distance metric for this route";10836                                    "Distance metric for this route";
11820                                }10837                                }
11821                              }10838                              }
11822                              description10839                              description
11823                                "Distance metric for this route";10840                                "Distance metric for this route";
11824                            }10841                            }
11825                            leaf tag {10842                            leaf tag {
11826                              type uint32 {10843                              type uint32 {
11827                                range "1..4294967295" {10844                                range "1..4294967295" {
11828                                  description10845                                  description
11829                                    "Set tag for this route";10846                                    "Set tag for this route";
11830                                }10847                                }
11831                              }10848                              }
11832                              description10849                              description
11833                                "Set tag for this route";10850                                "Set tag for this route";
11834                            }10851                            }
11835                            container permanent {10852                            container permanent {
11836                              presence "Indicates a permanent node is configured.";10853                              presence "Indicates a permanent node is configured.";
11837                              description10854                              description
11838                                "Permanent route";10855                                "Permanent route";
11839                            }10856                            }
11840                            leaf vrflabel {10857                            leaf vrflabel {
11841                              type uint32 {10858                              type uint32 {
11842                                range "0..4294967295" {10859                                range "0..4294967295" {
11843                                  description10860                                  description
11844                                    "VRF label";10861                                    "VRF label";
11845                                }10862                                }
11846                              }10863                              }
11847                              description10864                              description
11848                                "VRF label";10865                                "VRF label";
11849                            }10866                            }
11850                            leaf tunnel-id {10867                            leaf tunnel-id {
11851                              type uint32 {10868                              type uint32 {
11852                                range "0..4294967295" {10869                                range "0..4294967295" {
11853                                  description10870                                  description
11854                                    "Tunnel ID";10871                                    "Tunnel ID";
11855                                }10872                                }
11856                              }10873                              }
11857                              description10874                              description
11858                                "Tunnel ID";10875                                "Tunnel ID";
11859                            }10876                            }
11860                            leaf description {10877                            leaf description {
11861                              type string {10878                              type string {
11862                                length "1..30" {10879                                length "1..30" {
11863                                  description10880                                  description
11864                                    "short description of static route";10881                                    "short description of static route";
11865                                }10882                                }
11866                              }10883                              }
11867                              description10884                              description
11868                                "description of the static route";10885                                "description of the static route";
11869                            }10886                            }
11870                            leaf track {10887                            leaf track {
11871                              type xr:Cisco-ios-xr-string {10888                              type xr:Cisco-ios-xr-string {
11872                                length "1..32" {10889                                length "1..32" {
11873                                  description10890                                  description
11874                                    "Object to be tracked";10891                                    "Object to be tracked";
11875                                }10892                                }
11876                              }10893                              }
11877                              description10894                              description
11878                                "Enable object tracking for static route";10895                                "Enable object tracking for static route";
11879                            }10896                            }
11880                            leaf metric {10897                            leaf metric {
11881                              type uint32 {10898                              type uint32 {
11882                                range "1..16777214" {10899                                range "1..16777214" {
11883                                  description10900                                  description
11884                                    "Set metric for this route";10901                                    "Set metric for this route";
11885                                }10902                                }
11886                              }10903                              }
11887                              description10904                              description
11888                                "Set metric for this route";10905                                "Set metric for this route";
n11889                            }n
11890                            leaf algorithm {
11891                              type uint32 {
11892                                range "128..255" {
11893                                  description
11894                                    "Set algorithm value for this route";
11895                                }
11896                              }
11897                              description
11898                                "Set algorithm value for this route";
11899                            }10906                            }
11900                            container prefer-rib-over-ldp {10907                            container prefer-rib-over-ldp {
11901                              presence "Indicates a prefer-rib-over-ldp node is configured.";10908                              presence "Indicates a prefer-rib-over-ldp node is configured.";
11902                              description10909                              description
11903                                "Flag passed to rib to prefer rib over ldp";10910                                "Flag passed to rib to prefer rib over ldp";
11904                            }10911                            }
11905                          }10912                          }
11906                        }10913                        }
11907                        container nexthop-interface-addresses {10914                        container nexthop-interface-addresses {
11908                          description10915                          description
11909                            "Forwarding interface";10916                            "Forwarding interface";
11910                          list nexthop-interface-address {10917                          list nexthop-interface-address {
11911                            key "interface-name address";10918                            key "interface-name address";
11912                            description10919                            description
11913                              "Forwarding interface";10920                              "Forwarding interface";
11914                            leaf interface-name {10921                            leaf interface-name {
11915                              type xr:Interface-name;10922                              type xr:Interface-name;
11916                              description10923                              description
11917                                "Forwarding interface";10924                                "Forwarding interface";
11918                            }10925                            }
11919                            leaf address {10926                            leaf address {
11920                              type inet:ipv6-address-no-zone;10927                              type inet:ipv6-address-no-zone;
11921                              description10928                              description
11922                                "Forwarding router's address";10929                                "Forwarding router's address";
11923                            }10930                            }
11924                            container bfd {10931                            container bfd {
11925                              description10932                              description
11926                                "Configure BFD paramenters";10933                                "Configure BFD paramenters";
11927                              container fast-detect {10934                              container fast-detect {
11928                                presence "Indicates a fast-detect node is configured.";10935                                presence "Indicates a fast-detect node is configured.";
11929                                description10936                                description
11930                                  "Enable Fast detection";10937                                  "Enable Fast detection";
11931                                leaf minimum-interval {10938                                leaf minimum-interval {
11932                                  type uint32 {10939                                  type uint32 {
11933                                    range "3..30000" {10940                                    range "3..30000" {
11934                                      description10941                                      description
11935                                        "interval in milli-seconds";10942                                        "interval in milli-seconds";
11936                                    }10943                                    }
11937                                  }10944                                  }
11938                                  description10945                                  description
11939                                    "Hello interval";10946                                    "Hello interval";
11940                                }10947                                }
11941                                leaf multiplier {10948                                leaf multiplier {
11942                                  type uint32 {10949                                  type uint32 {
11943                                    range "1..10" {10950                                    range "1..10" {
11944                                      description10951                                      description
11945                                        "Detect multiplier";10952                                        "Detect multiplier";
11946                                    }10953                                    }
11947                                  }10954                                  }
11948                                  description10955                                  description
11949                                    "Detect multiplier";10956                                    "Detect multiplier";
11950                                }10957                                }
11951                              }10958                              }
11952                            }10959                            }
11953                            leaf distance-metric {10960                            leaf distance-metric {
11954                              type uint32 {10961                              type uint32 {
11955                                range "1..254" {10962                                range "1..254" {
11956                                  description10963                                  description
11957                                    "Distance metric for this route";10964                                    "Distance metric for this route";
11958                                }10965                                }
11959                              }10966                              }
11960                              description10967                              description
11961                                "Distance metric for this route";10968                                "Distance metric for this route";
11962                            }10969                            }
11963                            leaf tag {10970                            leaf tag {
11964                              type uint32 {10971                              type uint32 {
11965                                range "1..4294967295" {10972                                range "1..4294967295" {
11966                                  description10973                                  description
11967                                    "Set tag for this route";10974                                    "Set tag for this route";
11968                                }10975                                }
11969                              }10976                              }
11970                              description10977                              description
11971                                "Set tag for this route";10978                                "Set tag for this route";
11972                            }10979                            }
11973                            container permanent {10980                            container permanent {
11974                              presence "Indicates a permanent node is configured.";10981                              presence "Indicates a permanent node is configured.";
11975                              description10982                              description
11976                                "Permanent route";10983                                "Permanent route";
11977                            }10984                            }
11978                            leaf vrflabel {10985                            leaf vrflabel {
11979                              type uint32 {10986                              type uint32 {
11980                                range "0..4294967295" {10987                                range "0..4294967295" {
11981                                  description10988                                  description
11982                                    "VRF label";10989                                    "VRF label";
11983                                }10990                                }
11984                              }10991                              }
11985                              description10992                              description
11986                                "VRF label";10993                                "VRF label";
11987                            }10994                            }
11988                            leaf tunnel-id {10995                            leaf tunnel-id {
11989                              type uint32 {10996                              type uint32 {
11990                                range "0..4294967295" {10997                                range "0..4294967295" {
11991                                  description10998                                  description
11992                                    "Tunnel ID";10999                                    "Tunnel ID";
11993                                }11000                                }
11994                              }11001                              }
11995                              description11002                              description
11996                                "Tunnel ID";11003                                "Tunnel ID";
11997                            }11004                            }
11998                            leaf description {11005                            leaf description {
11999                              type string {11006                              type string {
12000                                length "1..30" {11007                                length "1..30" {
12001                                  description11008                                  description
12002                                    "short description of static route";11009                                    "short description of static route";
12003                                }11010                                }
12004                              }11011                              }
12005                              description11012                              description
12006                                "description of the static route";11013                                "description of the static route";
12007                            }11014                            }
12008                            leaf track {11015                            leaf track {
12009                              type xr:Cisco-ios-xr-string {11016                              type xr:Cisco-ios-xr-string {
12010                                length "1..32" {11017                                length "1..32" {
12011                                  description11018                                  description
12012                                    "Object to be tracked";11019                                    "Object to be tracked";
12013                                }11020                                }
12014                              }11021                              }
12015                              description11022                              description
12016                                "Enable object tracking for static route";11023                                "Enable object tracking for static route";
12017                            }11024                            }
12018                            leaf metric {11025                            leaf metric {
12019                              type uint32 {11026                              type uint32 {
12020                                range "1..16777214" {11027                                range "1..16777214" {
12021                                  description11028                                  description
12022                                    "Set metric for this route";11029                                    "Set metric for this route";
12023                                }11030                                }
12024                              }11031                              }
12025                              description11032                              description
12026                                "Set metric for this route";11033                                "Set metric for this route";
12027                            }11034                            }
n12028                            leaf algorithm {n
12029                              type uint32 {
12030                                range "128..255" {
12031                                  description
12032                                    "Set algorithm value for this route";
12033                                }
12034                              }
12035                              description
12036                                "Set algorithm value for this route";
12037                            }
12038                            container prefer-rib-over-ldp {11035                            container prefer-rib-over-ldp {
12039                              presence "Indicates a prefer-rib-over-ldp node is configured.";11036                              presence "Indicates a prefer-rib-over-ldp node is configured.";
12040                              description11037                              description
12041                                "Flag passed to rib to prefer rib over ldp";11038                                "Flag passed to rib to prefer rib over ldp";
12042                            }11039                            }
12043                          }11040                          }
12044                        }11041                        }
12045                        container nexthop-addresses {11042                        container nexthop-addresses {
12046                          description11043                          description
12047                            "Forwarding router's address";11044                            "Forwarding router's address";
12048                          list nexthop-address {11045                          list nexthop-address {
12049                            key "address";11046                            key "address";
12050                            description11047                            description
12051                              "Forwarding router's address";11048                              "Forwarding router's address";
12052                            leaf address {11049                            leaf address {
12053                              type inet:ipv6-address-no-zone;11050                              type inet:ipv6-address-no-zone;
12054                              description11051                              description
12055                                "Forwarding router's address";11052                                "Forwarding router's address";
12056                            }11053                            }
12057                            container bfd {11054                            container bfd {
12058                              description11055                              description
12059                                "Configure BFD paramenters";11056                                "Configure BFD paramenters";
12060                              container fast-detect {11057                              container fast-detect {
12061                                presence "Indicates a fast-detect node is configured.";11058                                presence "Indicates a fast-detect node is configured.";
12062                                description11059                                description
12063                                  "Enable Fast detection";11060                                  "Enable Fast detection";
12064                                leaf minimum-interval {11061                                leaf minimum-interval {
12065                                  type uint32 {11062                                  type uint32 {
12066                                    range "3..30000" {11063                                    range "3..30000" {
12067                                      description11064                                      description
12068                                        "interval in milli-seconds";11065                                        "interval in milli-seconds";
12069                                    }11066                                    }
12070                                  }11067                                  }
12071                                  description11068                                  description
12072                                    "Hello interval";11069                                    "Hello interval";
12073                                }11070                                }
12074                                leaf multiplier {11071                                leaf multiplier {
12075                                  type uint32 {11072                                  type uint32 {
12076                                    range "1..10" {11073                                    range "1..10" {
12077                                      description11074                                      description
12078                                        "Detect multiplier";11075                                        "Detect multiplier";
12079                                    }11076                                    }
12080                                  }11077                                  }
12081                                  description11078                                  description
12082                                    "Detect multiplier";11079                                    "Detect multiplier";
12083                                }11080                                }
12084                                container multihop {11081                                container multihop {
12085                                  presence "Indicates a multihop node is configured.";11082                                  presence "Indicates a multihop node is configured.";
12086                                  description11083                                  description
12087                                    "Enable BFD Multihop";11084                                    "Enable BFD Multihop";
12088                                  leaf address {11085                                  leaf address {
12089                                    type inet:ipv6-address-no-zone;11086                                    type inet:ipv6-address-no-zone;
12090                                    mandatory true;11087                                    mandatory true;
12091                                    description11088                                    description
12092                                      "Source address";11089                                      "Source address";
12093                                  }11090                                  }
12094                                }11091                                }
12095                              }11092                              }
12096                            }11093                            }
12097                            leaf distance-metric {11094                            leaf distance-metric {
12098                              type uint32 {11095                              type uint32 {
12099                                range "1..254" {11096                                range "1..254" {
12100                                  description11097                                  description
12101                                    "Distance metric for this route";11098                                    "Distance metric for this route";
12102                                }11099                                }
12103                              }11100                              }
12104                              description11101                              description
12105                                "Distance metric for this route";11102                                "Distance metric for this route";
12106                            }11103                            }
12107                            leaf tag {11104                            leaf tag {
12108                              type uint32 {11105                              type uint32 {
12109                                range "1..4294967295" {11106                                range "1..4294967295" {
12110                                  description11107                                  description
12111                                    "Set tag for this route";11108                                    "Set tag for this route";
12112                                }11109                                }
12113                              }11110                              }
12114                              description11111                              description
12115                                "Set tag for this route";11112                                "Set tag for this route";
12116                            }11113                            }
12117                            container permanent {11114                            container permanent {
12118                              presence "Indicates a permanent node is configured.";11115                              presence "Indicates a permanent node is configured.";
12119                              description11116                              description
12120                                "Permanent route";11117                                "Permanent route";
12121                            }11118                            }
12122                            leaf vrflabel {11119                            leaf vrflabel {
12123                              type uint32 {11120                              type uint32 {
12124                                range "0..4294967295" {11121                                range "0..4294967295" {
12125                                  description11122                                  description
12126                                    "VRF label";11123                                    "VRF label";
12127                                }11124                                }
12128                              }11125                              }
12129                              description11126                              description
12130                                "VRF label";11127                                "VRF label";
12131                            }11128                            }
12132                            leaf tunnel-id {11129                            leaf tunnel-id {
12133                              type uint32 {11130                              type uint32 {
12134                                range "0..4294967295" {11131                                range "0..4294967295" {
12135                                  description11132                                  description
12136                                    "Tunnel ID";11133                                    "Tunnel ID";
12137                                }11134                                }
12138                              }11135                              }
12139                              description11136                              description
12140                                "Tunnel ID";11137                                "Tunnel ID";
12141                            }11138                            }
12142                            leaf description {11139                            leaf description {
12143                              type string {11140                              type string {
12144                                length "1..30" {11141                                length "1..30" {
12145                                  description11142                                  description
12146                                    "short description of static route";11143                                    "short description of static route";
12147                                }11144                                }
12148                              }11145                              }
12149                              description11146                              description
12150                                "description of the static route";11147                                "description of the static route";
12151                            }11148                            }
12152                            leaf track {11149                            leaf track {
12153                              type xr:Cisco-ios-xr-string {11150                              type xr:Cisco-ios-xr-string {
12154                                length "1..32" {11151                                length "1..32" {
12155                                  description11152                                  description
12156                                    "Object to be tracked";11153                                    "Object to be tracked";
12157                                }11154                                }
12158                              }11155                              }
12159                              description11156                              description
12160                                "Enable object tracking for static route";11157                                "Enable object tracking for static route";
12161                            }11158                            }
12162                            leaf metric {11159                            leaf metric {
12163                              type uint32 {11160                              type uint32 {
12164                                range "1..16777214" {11161                                range "1..16777214" {
12165                                  description11162                                  description
12166                                    "Set metric for this route";11163                                    "Set metric for this route";
12167                                }11164                                }
12168                              }11165                              }
12169                              description11166                              description
12170                                "Set metric for this route";11167                                "Set metric for this route";
t12171                            }t
12172                            leaf algorithm {
12173                              type uint32 {
12174                                range "128..255" {
12175                                  description
12176                                    "Set algorithm value for this route";
12177                                }
12178                              }
12179                              description
12180                                "Set algorithm value for this route";
12181                            }11168                            }
12182                            container prefer-rib-over-ldp {11169                            container prefer-rib-over-ldp {
12183                              presence "Indicates a prefer-rib-over-ldp node is configured.";11170                              presence "Indicates a prefer-rib-over-ldp node is configured.";
12184                              description11171                              description
12185                                "Flag passed to rib to prefer rib over ldp";11172                                "Flag passed to rib to prefer rib over ldp";
12186                            }11173                            }
12187                          }11174                          }
12188                        }11175                        }
12189                      }11176                      }
12190                    }11177                    }
12191                  }11178                  }
12192                }11179                }
12193              }11180              }
12194            }11181            }
12195          }11182          }
12196        }11183        }
12197      }11184      }
12198      container maximum {11185      container maximum {
12199        description11186        description
12200          "Limit the number of static paths which may be configured";11187          "Limit the number of static paths which may be configured";
12201        container path {11188        container path {
12202          description11189          description
12203            "Limit the number of static paths which may be configured";11190            "Limit the number of static paths which may be configured";
12204          container ipv4 {11191          container ipv4 {
12205            description11192            description
12206              "IPv4 commands";11193              "IPv4 commands";
12207            leaf maximum-number {11194            leaf maximum-number {
12208              type uint32 {11195              type uint32 {
12209                range "1..140000" {11196                range "1..140000" {
12210                  description11197                  description
12211                    "The maximum number of static paths which can be configured";11198                    "The maximum number of static paths which can be configured";
12212                }11199                }
12213              }11200              }
12214              description11201              description
12215                "The maximum number of static paths which can be configured";11202                "The maximum number of static paths which can be configured";
12216            }11203            }
12217          }11204          }
12218          container ipv6 {11205          container ipv6 {
12219            description11206            description
12220              "IPv6 commands";11207              "IPv6 commands";
12221            leaf maximum-number {11208            leaf maximum-number {
12222              type uint32 {11209              type uint32 {
12223                range "1..140000" {11210                range "1..140000" {
12224                  description11211                  description
12225                    "The maximum number of static paths which can be configured";11212                    "The maximum number of static paths which can be configured";
12226                }11213                }
12227              }11214              }
12228              description11215              description
12229                "The maximum number of static paths which can be configured";11216                "The maximum number of static paths which can be configured";
12230            }11217            }
12231          }11218          }
12232        }11219        }
12233      }11220      }
12234    }11221    }
12235  }11222  }
12236}11223}
Legends
Colors
 Added 
Changed
Deleted
Links
(f)irst change
(n)ext change
(t)op